[xquery-talk] fetching value of an namespaced attribute
mail2champ77-friends at yahoo.co.in
mail2champ77-friends at yahoo.co.in
Wed May 7 22:49:27 PDT 2008
Hi drkm:
Thanks!
-Mani
----- Original Message ----
From: Florent Georges <lists at fgeorges.org>
To: talk at x-query.com
Sent: Tuesday, 6 May, 2008 6:18:46 PM
Subject: Re: [xquery-talk] fetching value of an namespaced attribute
mail2champ77-friends at yahoo.co.in wrote:
Hi
> I wanted to fetch "1210066349529" value.
> <entry mk:crawl-timestamp-msec="1210066349529">
> </entry>
> namespace 'mk' is a problem for me.
You have to look for what URI this prefix is bound to in the instance
document (you should see something like xmlns:mk="http://..." on one
ancestor of the entry element.) Then use this URI and bound a prefix
to it on your XQuery expression:
declare namespace mk="http://...";
entry/@mk:crawl-timestamp-msec
Regards,
--drkm
__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités
http://mail.yahoo.fr Yahoo! Mail
_______________________________________________
talk at x-query.com
http://x-query.com/mailman/listinfo/talk
From Chandigarh to Chennai - find friends all over India. Go to http://in.promos.yahoo.com/groups/citygroups/
More information about the talk
mailing list