The DomNode class / xml.DomNode methods |
Declare (or undeclare) the XML Attribute of given name to be of type ID.
setIdAttribute( name STRING, isId INTEGER )
Declare (or undeclare) the XML Attribute of given name to be of type ID. Use the value TRUE for the parameter isID to declare that attribute for being a user-determined ID attribute, otherwise returns FALSE.
This affects the behavior of getElementById.
In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).