>...the path 'Sale/BillID' given within
>the 'concat' function may not be a valid path. So my question is, Is
>there any way by which we can validate a given XPath expression against
>a source document or Is there a way to extract the 'path' strings from
>an XPath expression/function so that such validation can be done
>separately and the user can be notified of the error appropriately?

Not a complete answer, but something to use:
The expression boolean(Sale/BillID) is true if there are any Sale/BillID
nodes, as the tree is viewed from the context node, and false otherwise.

A good XSLT book would help with questions like these, even if you are
working with XPath alone.
.................David Marston

Reply via email to