System.XPath Module

Namespaces | Files

The System.XPath module contains an implementation of the XML Path Language version 1.0 query engine.

Example 1

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.

Example 2

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.

Example 3

This xpath_socrates program is the same as above with a different query expression.

Namespaces

System
XPath
Keyword
Token

Files

System.XPath/System.XPath.XPathLexer.cm
System.XPath/XPath.keyword.cm
System.XPath/XPath.parser.cm
System.XPath/XPath.token.cm
System.XPath/XPathContext.cm
System.XPath/XPathDebug.cm
System.XPath/XPathEvaluate.cm
System.XPath/XPathExpr.cm
System.XPath/XPathExprEvaluate.cm
System.XPath/XPathFunction.cm
System.XPath/XPathFunctionEvaluate.cm
System.XPath/XPathNodeTest.cm
System.XPath/XPathObject.cm
System.XPath/XPathTokenParser.cm