jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu ☀" <the.mindstorm.mailingl...@gmail.com>
Subject Re: XPath query with space in node name
Date Thu, 20 Dec 2007 23:02:47 GMT
On Dec 20, 2007 10:09 PM, Dan Diephouse <dan.diephouse@mulesource.com> wrote:
> 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?
>

Yes, I think there is/are one, but my memory is not helping me right
now (I think they are called something like ISOsomething).

./alex
--
.w( the_mindstorm )p.

> Thanks,
> - 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
> MuleSource
> http://mulesource.com | http://netzooid.com/blog
>
>

Mime
View raw message