xml.DomDocument.getElementsByTagNameNS
Returns an xml.DomNodeList
object containing all
namespace qualified XML Element xml.DomNode
objects with the same tag name and
namespace in the entire document
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 all namespaces.
Usage
Use this method to return an xml.DomNodeList
object containing all namespace
qualified XML Element xml.DomNode
objects with the same tag name and namespace in
the entire document. The tag string contains the name of the XML Element tag to
match, or use "*" to match all tags. ns is the namespace URI of the XML Element
tag to match, or use "*" to match all namespaces.
Returns a DomNodeList object, or
NULL
.
The returned list is ordered using a Depth-First pass algorithm.
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).