jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Diephouse <dan.diepho...@mulesource.com>
Subject Re: XPath query with space in node name
Date Thu, 20 Dec 2007 20:09:21 GMT
OK, I don't know why I didn't just look at the specification first, but 
that helped. I just needed to replace the space with "_x0020_".

Is there a jackrabbit class or a utility class floating around that can 
handle all the escaping rules for me?

- Dan

Dan Diephouse wrote:
> Hi all,
> I'm trying to query a node which has a space in its name. My initial 
> attempt was "//Foo Bar" where the node's name is "Foo Bar". But this 
> doesn't seem to work.
> Any advice on what to do? I've tried a whole range of things to no 
> avail...
> - Dan

Dan Diephouse
http://mulesource.com | http://netzooid.com/blog

View raw message