The DomDocument class / xml.DomDocument methods |
Returns a DomNodeList object containing all XML Element DomNode objects with the same tag name in the entire document.
getElementsByTagName( name STRING ) RETURNING object xml.DomNodeList
Returns a DomNodeList object containing all XML Element DomNode objects with the same tag name in the entire document; name is the name of the XML Element tag to match, or "*" to match all tags.
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).