The DomNode class / om.DomNode methods |
Finds descendant DOM nodes according to a tag name.
selectByTagName( tagname STRING ) RETURNING result om.NodeList
The selectByTagName() method scans the DOM tree for descendant nodes defined with the tag name specified as parameter.
DOM node tag names are case-sensitive.
The method creates a list of nodes as a om.NodeList object. This list object is then used to process the nodes found.
DEFINE node om.DomNode, nodelist om.NodeList ... LET nodelist = node.selectByTagName("Car")