Hi, this cost me some time to figure out: /entity/subentities/entity[type='contact' and position()=1]/subentities/entity[type='kommunikationsdaten']/entities/*
It appears that jaxen cannot handle the "and" expression with the position() function. It works when i replace "position()=1" with eg. "id='1'". I got no error; the resulting list was just always empty. What made things rather frustrating is that it worked fine using the xpath evaluator in XmlSpy 4! Cheers, Mark PS. Using jaxen10b7. Havenīt yet got round to trying 10b8. _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest