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.
- Documentation
- › API
- › DOM API
- › selectSingleNode
XopusNode.selectSingleNode( xpath : String) : XopusNode
: String) : XopusNodeArguments
- xpath
- String. The
XPathto evaluate.