selectSingleNode

Select a single node using an XPath.

Namepaces and prefixes

Please note that using selectSingleNode with namespaced element names, in the form of prefix:elementname will not work. It is currently not possible to add the namespace to the Xopus API to enable the namespace prefix in these function. You can rewrite the XPaths you are using with *[local-name() = 'elementname'] instead.


XopusNode.selectSingleNode( xpath : String) : XopusNode

Arguments

xpath
String. The XPath to evaluate.

Return Value

XopusNode