[Home] [By Thread] [By Date] [Recent Entries]
As David Carlisle says, the id() function is sensitive to variations in
how the XML is parsed, and in particular how the DTD is handled. In
general I would avoid it for this reason: use key() instead. The
exceptions are (a) if your ID attributes are named xml:id, and (b) if
you are running schema-aware with the ID attributes declared as xs:ID in
the schema; but even then, using key() is more interoperable.
Michael Kay Saxonica On 18/06/2012 13:59, Flanders, Charles E (US SSA) wrote: Can someone please explain to me why this code:
|

Cart



