Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ArgumentTypeDescription
XMLStringThe full XML data, stored in a string variable.
XPathStringXPath expression to extract data from the XML.
Note : XPath is a w3 standard language for addressing parts of an XML document. For more details see http://www.w3.org/TR/xpath/

Examples

Where $xml is :

&lt?xml version="1.0" encoding="ISO-8859-1"?&gt &ltstore&gt &ltthing category="X1"&gt &ltname&gtItem1&lt/name&gt &ltprice&gt15.00&lt/price&gt &lt/thing&gt &ltthing category="X2"&gt &ltname&gtItem2&lt/name&gt &ltprice&gt17.99&lt/price&gt &lt/thing&gt &lt/store&gt

...