The DomNode class / xml.DomNode methods |
Declare (or undeclare) the namespace-qualified XML Attribute of given name and namespace to be of type ID.
setIdAttributeNS( name STRING, ns STRING, isId INTEGER )
Declare (or undeclare) the namespace-qualified XML Attribute of given name and namespace 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).