Xpath translations

I’m certainly no expert in the vast realm that is XML. I like it, and I hope it succeeds, and I want to learn it more… so here’s a question that someone can answer for me before I do days of research and find nothing:

Is there any standard (or at least reliable) way to “translate” a relative XPath expression into one that is absolute. A successful translation would be one that returned the exact same value/node-set as the original when evaluated in the same context. If such a solution exists… I’m guessing it would involve lots of “position()” calls.

Anyone?

This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>