The DomNode class / xml.DomNode methods |
Checks whether a namespace qualified XML Attribute of a given name is carried by an XML Element DomNode object.
hasAttributeNS( name STRING, ns STRING ) RETURNING flag INTEGER
Checks whether a namespace qualified XML Attribute of a given name is carried by this XML Element DomNode object, where name the name of the XMLAttribute to check; ns the namespace URI of the XML Attribute to check. Returns TRUE if an XML Attribute with the given name and namespace URI is carried by this XML Element DomNode object, otherwise returns FALSE.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.