The System.XPath module contains an implementation of the XML Path Language version 1.0 query engine.
This xpath_test.cm program shows how to read an XML document and then evaluate an XPATH query with respect to the XML document and print the result as XML.
This xpath_philosophers.cm program shows how to parse an XML string to an XML document, evaluate an XPATH query and then retrieve data from XML elements.
This xpath_socrates program is the same as above with a different query expression.
System | ||
XPath | ||
Keyword | ||
Token |