create(String exprString, SourceLocator locator, PrefixResolver prefixResolver, int type) Create an XPath.
Parameters: exprString - The XPath expression string. Parameters: locator - The location of the expression string, mainly for diagnosticpurposes. Parameters: prefixResolver - This will be called in order to resolve prefixes to namespace URIs. Parameters: type - One of org.apache.xpath.XPath.SELECT or org.apache.xpath.XPath.MATCH.
Create an XPath.
Parameters: exprString - The XPath expression string. Parameters: locator - The location of the expression string, mainly for diagnosticpurposes. Parameters: prefixResolver - This will be called in order to resolve prefixes to namespace URIs. Parameters: type - One of org.apache.xpath.XPath.SELECT or org.apache.xpath.XPath.MATCH. an XPath ready for execution.