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 ?
Asked
Active
Viewed 198 times
0
-
refer :- https://stackoverflow.com/questions/9119818/create-xpath-expression-programmatically – Shubham Jain Sep 08 '17 at 09:42
-
refer :- https://stackoverflow.com/questions/24834109/chrome-extension-programmatically-inspect-element-and-copy-xpath-or-copy-css – Shubham Jain Sep 08 '17 at 09:42
1 Answers
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