> For path = root/x, I get a list with the x element, > but for path = root/x/text() and path = root/x/name() > I get an empty list.
Try using /root/x (even though you do pass the document as the context node). Also note that /root/x/name() is not a valid path. If you are looking for the name of a node, use name(/root/x) (but you know that will return 'x' anyway :) Christian _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest