0

An XPath query is compiled into an XPathExpression, which can then be evaluted on document. Suppose if i have hold of only all the compiled expressions, is it possible to know what are the respective xpath queries for them ?

Rima
  • 545
  • 6
  • 12

1 Answers1

0

No, the JAXP XPathExpression class does not offer this capability. (Some implementations of this interface might do so, but that's a different question.)

Michael Kay
  • 156,231
  • 11
  • 92
  • 164