[MarkLogic Dev General] id() for @xml:id?
Tim Finney
tjf2n at virginia.edu
Thu Aug 17 12:17:34 PDT 2006
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
More information about the General
mailing list