jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Avila <pav...@git.es>
Subject question about XPath
Date Sun, 26 Nov 2006 16:14:16 GMT
The question is about the "element()" sintax:

If I want to search all nodes which type is "okm:document" the query is:

	//element(*, okm:document)

And if I want to search all nodes which type is "okm:document" and the
node name is "prueba fe.txt":

	//element(prueba&#32;fe.txt, okm:document)

But this throw an error:

	Lexical error at line 1, column 27.  Encountered: "&" (38), after : ""

So, I don't know how can I code the space ' ' in the node name.
-- 
Paco Avila <pavila@git.es>


Mime
View raw message