public class Dom4jXPath
extends BaseXPath
This is the main entry point for matching an XPath against a DOM
tree. You create a compiled XPath object, then match it against
one or more context nodes using the #selectNodes(Object)
method, as in the following example:
Node node = ...; XPath path = new Dom4jXPath("a/b/c"); List results = path.selectNodes(node);
BaseXPath
,
The dom4j websiteConstructor and Description |
---|
Dom4jXPath(java.lang.String xpathExpr)
Construct given an XPath expression string.
|
Copyright ? 2005 MetaStuff Ltd. All Rights Reserved. Hosted by