Online documentation - Websydian v6.5 |
Introduction Installation Other Uses Parts
The XPath function contains functions used to access
data in the XML document in accordance with the XPath
specification.
The selectNodes functions selects all nodes matching the XPath expression given as input parameter. An ObjectReference and an XPath expression should be passed as input parameters. The ObjectReference is a reference to the node which is the root of the XPath node search.
selectNodes returns a ObjectNodeList which is a reference to a NodeList containing the nodes matching the XPath expression.
The selectSingleNode function is equivalent to selectNodes except that it returns only the first node matching the XPath expression given as input parameter. The node is returned as an ObjectNode reference.