Thanks Adam, it works pretty good.
Thanks again.
El vie, 09-05-2008 a las 11:52 +0100, Adam Retter escribió:
> The key is in what the error message is telling you, and also the
> XQuery specification. As eXist's XQuery has become more compliant with
> the specification, a few things have been tightened up.
>
> You now need - document-uri(root($c))
>
> 2008/5/9 Jorge Martín Cuervo <
jorge.martin@...>:
> > Hi all,
> >
> > I've been using eXist 1.0x for a while, and now i'm testing 1.2 version.
> > I notice that document-uri function is not working as i expected:
> >
> > This is my test query:
> >
> > declare namespace hr="
http://ns.hr-xml.org/2004-08-02";
> > for $c in //hr:Candidate
> > return <x>{document-uri($c)}</x>
> >
> > and i get:
> > <x/>
> > <x/>
> > <x/>
> > [...]
> >
> > In previous eXist version i get the uri, am i doing something wrong? any
> > idea?
> >
> > Thanks in advance.
> >
> > --
> > ;-)
> > ____________________________________
> > Jorge Martin Cuervo
> >
> > Outsourcing Emarketplace
> > deFacto Powered by Standards
> >
> > email <
jorge.martin@...>
> > voice +34 984 832 659
> > voice +34 660 026 384
> > ____________________________________
> >
> >
> > [...]
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > Don't miss this year's exciting event. There's still time to save $100.
> > Use priority code J8TL2D2.
> >
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone> > _______________________________________________
> > Exist-open mailing list
> >
Exist-open@...
> >
https://lists.sourceforge.net/lists/listinfo/exist-open> >
>
>
>
--
;-)
____________________________________
Jorge Martin Cuervo
Outsourcing Emarketplace
deFacto Powered by Standards
email <
jorge.martin@...>
voice +34 984 832 659
voice +34 660 026 384
____________________________________
DE FACTO STANDARDS, S.L., le informa que su dirección de correo electrónico, así
como el resto de los datos de carácter personal que nos facilite, serán objeto
de tratamiento automatizado en nuestros ficheros, con la finalidad del envío de
información comercial y/o personal por vía electrónica. Vd. podrá en cualquier
momento ejercer el derecho de acceso, rectificación, cancelación y oposición en
los términos establecidos en la Ley Orgánica de Protección de Datos de Carácter
Personal (LOPD. 15/1999), dirigiendo un escrito a C/ Rivero 31 1º Izda. - 33402
AVILES (Asturias), o a nuestra dirección de correo electrónico
(
info@...). También informamos que la información incluida en este
e-mail es CONFIDENCIAL, siendo para uso exclusivo del destinatario arriba
mencionado. Si Usted lee este mensaje y no es el destinatario indicado, le
informamos que está totalmente prohibida cualquier utilización, divulgación,
distribución y/o reproducción de esta comunicación sin autorización expresa en
virtud de la legislación vigente. Si ha recibido este mensaje por error, le
rogamos nos lo notifique inmediatamente por esta misma vía y proceda a su
eliminación.
This e-mail contains information that will be added to our computerised guest
data base and will be trated in the strict confidence. If you wish to access,
correct, oppose or cancel your details, as specified the Law 15/99, December
13th, please send a certified letter to this effect to DE FACTO STANDARDS,
S.L.., (C/ Rivero 31 1º Izda. - 33402 AVILES (Asturias) SPAIN). If you read this
message, and is not the destinatary, we informal you that is forbidden anything
utility, distribution, divulgation or reproduction of this communication without
express authorization, of the present law. If you received this message for
mistake, we proud in order to the present law, immediate communication to us,
and please erase this e-mail
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open