Re: [Xmldb-org-general] little doubt with xml:db
Brought to you by:
reinhapa
|
From: Ronald B. <rpb...@rp...> - 2008-02-13 03:55:16
|
Hello,
XQuery provides this only through the fn:normalize-space() function. For
example:
/animals/animal[fn:normalize-space(.)="dog"]
(Note that the boundary-space declaration does not apply in this case.)
I don't know if eXist has any special capabilities here.
-- Ron
P.S. For XQuery questions, you will have better luck with the
XQuery-talk mailing list:
http://www.x-query.com/mailman/listinfo/talk
For eXist questions, try the exist-open mailing list:
https://lists.sourceforge.net/lists/listinfo/exist-open
Marc Miranda wrote:
> Hi friends,
>
> I would be very if you could help me we just a little question.
> How can I tell org.exist.xmldb.XQueryService or maybe
> org.xmldb.api.base.Collection not to process whitespaces between tags
> when executing a xquery? Is there any possiblity that code makes an internal
> trim()? Maybe some property?
>
> <animals>
> <animal>dog</animal>
> <animal> dog </animal>
> <animals>
>
> I would like that an xQuery with *animal="dog"* doesn't make distinction.
> Thank you very much inadvance...
|