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
  • 505
  • 5
  • 11

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
  • 147,186
  • 10
  • 83
  • 148