selectSingleNode
Description
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.
Arguments
- xpath
-
String. TheXPathto evaluate.
Return Value
XopusNode . The first node that matched the XPath.