Can someone help a xpath newbie figure out a simple xpath expression?

Upon learning that //someelement does not guarantee the order that things
come back in are document order, I have switched tacts and decided to try to
handle it my self.  I was thinking about playing around with the position()
function, but cannot get Jaxen to return the position of an element to me.

I have tried 
//someelement[@id='S55']/position()  but that returns 0 in all cases

How can I determine the document order position of an element without
walking the whole tree in JDOM?  

Any ideas?

_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to