BE_XPath ( xmlText ; xpathText {; namespaceListText ; asTextBoolean } )

This finds the first instance of a node at the path xpath within the text xml. This function is based on the libxml library which only supports XPath 1.0

Version : 1.2
Version : 2.2 : Added the optional asText parameter.

Parameters :
xmlText : the XML text to use.
xpathText : the path to the node you require.
namespaceListText ( optional ) : Namespace list. Format "prefix1=href1 prefix2=href2..."
asTextBoolean ( optional ) : Whether to return the XML nodeset as text instead of the standard XPath result. Allows you to get raw XML from the source.

Result : the text content of the nodes at the xpath location.

Examples :

BE_XPath ( $$XML ; "/abc:checkUserResponse/abc:result/abc:accountDetails/@type" ; "abc=" )

Still need help? Contact Us Contact Us