ups sorry for the double post. When I sent the first message I wasn't 
registered in the mailing list!

I'm very sorry

Anton

Anton Brass schrieb:
> ey follks!  :)
>
> I'm quite new to XQuery.
>
> I found a function in the XQuery-WiKi-Book, which I wanted to use: 
> util:collection-name, but just trying it in a xquery didn't work out:
>
> for $x in collection('/medical/patient1/')
> return util:collection-name($x)
>
> must I define a namespace, if yes, which?
>
> My second question builds up on the first. I have following structure:
>
> |-medical
> |--patient1
> |---document 1.xml
> |---document 2.xml
> |---document 3.xml
> |--patient2
> |---document 1.xml
> |---document 2.xml
> |---document 3.xml
> |...
>
> Now I want find all "patients", which have for example document 
> x.xml/Bloodpressure=130. How I must write the XQuery for that?
>
> Thanks for any help :)
>
> Anton
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Sedna-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
>   

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to