Class SimpleXpathEngine

All Implemented Interfaces:
XMLConstants, XpathEngine, XSLTConstants

public class SimpleXpathEngine extends Object implements XpathEngine, XSLTConstants
Simple class for accessing the Nodes matched by an Xpath expression, or evaluating the String value of an Xpath expression. Uses a copy-of or value-of XSL template (as appropriate) to execute the Xpath. This is not an efficient method for accessing XPaths but it is portable across underlying transform implementations. (Yes I know Jaxen is too, but this approach seemed to be the simplest thing that could possibly work...)