xml.DomNode.getElementsByTagNameNS
Returns a DomNodeList object containing all namespace-qualified XML Element DomNode objects with the same tag name and namespace.
Syntax
getElementsByTagNameNS(
tag STRING,
ns STRING )
RETURNS xml.DomNodeList
- tag defines the name of the XML Element tag to match or "*" to match all tags.
- ns defines the namespace URI of the XML Element tag to match or "*" to match any namespace.
Usage
Returns a DomNodeList
object containing all namespace-qualified XML Element
DomNode objects with the same tag name and namespace, or NULL. tag is the name of
the XML Element tag to match, or "*" to match all tags; ns is the namespace URI
of the XML Element tag to match, or "*" to match any namespace.
The getElementsByTagNameNS
and getElementsByTagName methods return a
DomNodeList
object, unlike the other methods that return a DomNode
object. The DomNodeList
is restricted to contain objects with the same tag name
and/or namespace.
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).