« Return to Thread: document-uri function is not working

Re: document-uri function is not working

by Jorge Martín Cuervo :: Rate this Message:

Reply to Author | View in Thread

Thanks Wolfgang. ;)

El vie, 09-05-2008 a las 12:55 +0200, Wolfgang escribió:

> > 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:
>
> I had the same problem yesterday, though I should know better ;-).
> fn:document-uri() is now behaving as required by the specs, which says:
>
> "Returns the empty sequence if the node is not a document node."
>
> You thus need to replace $c with its document node, which can be done
> like this:
>
> document-uri(root($c))
>
> Wolfgang
--
;-)
____________________________________
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

 « Return to Thread: document-uri function is not working