The id() function looks up elements with a given ID value.
Unfortunately, all my IDs are in the XML namespace. At the moment I use
the following which does not seem too efficient:

fn:doc($uri)//@xml:id[. = $id]/..

Is there a way to use id() with @xml:ids? If not, is there a good way to
get a node with a particular @xml:id?

Best

Tim Finney
Programmer
UVA Press


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to