xml.DomNode.setIdAttributeNS
Set the namespace-qualified XML Attribute of given name and namespace to be of type ID. Declare (or undeclare) the ID as user-determined.
Syntax
setIdAttributeNS(
name STRING,
ns STRING,
isId INTEGER )
- name defines the name of the XML Attribute to set.
- ns defines the namespace URI of the XML Attribute to set.
- isId declares whether the attribute is a user-determined ID attribute.
Usage
This method sets 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 as a user-determined ID attribute, otherwise use 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).