XPath expression syntax validation



I am currently working on a Java project using XPath and since I am not an XPath expert I need to find a way to validate the syntax of random XPath expressions, without matching them to XML data.


I found many XPath validators on the web and unfortunately all of them require XML data.


My immediate need is to validate the following expression:



/cXML/Request/OrderRequest/OrderRequestHeader/Extrinsic/@name[NameOrder]/Name


I'd appreciate comments on the validity of this specific one...


No comments:

Post a Comment