Hi Eddie
From: Eddie
 
is the following a valid xpath
 
$u/user/name
FWIW I've tested the above expression in dom4j / Jaxen and it appears to work fine, when $u resolves to a Node. (I've not tested if its works for a list of nodes yet).
 
I presume it is valid as long as $u resolves to a node or a list of nodes. The reason I ask is that XQuery uses this type of xpath all the time in the Return clause.
Currently JAXEN falls over when presented with such a path.
Which version and model? It seems to work now I think.
 
Incidentally, doing some XQuery support with Jaxen would be very cool.
 
James

Reply via email to