BE_XPath

BE_XPath


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 http://xmlsoft.org

Parameters:

- xmlText : the XML text to use.

- xpathText : the path to the node you require.

- namespaceListText : Namespace list. Format "prefix1=href1 prefix2=href2..."

- asTextBoolean : Whether to return the XML nodeset as text instead of the standard XPath result. Allows you to get raw XML from the source.

Keywords:

XML XPath


Version History:

- 1.0 http : //xmlsoft.org

- 1.2 :

- 2.2 : Added the optional asText parameter.

Code Examples:

 BE_XPath ( $$XML ; "/abc:checkUserResponse/abc:result/abc:accountDetails/@type" ; "abc=http://xml.m4u.com.au/2009" )


Still need help? Contact Us Contact Us