elementsetidattributens11
IBM
Declares the attribute specified by local name and namespace URI to be of type ID. If the value of the
specified attribute is unique then this element node can later be retrieved using getElementById on Document.
Note, however, that this simply affects this node and does not change any grammar that may be in use.
Invoke setIdAttributeNS on two existing namespace attributes with same local name but different values. Verify by calling
isId on the attributes node and getElementById with different values on document node.
Jenny Hsu
2003-02-26