From: "Mark Hortman" <[EMAIL PROTECTED]> > 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.
Though generally //someelement will return things in order. Jaxen should walk the document tree in order matching XPath expressions so for simple paths like //foo it should work. Or do you have a test case where it doesn't? James _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest