a given node? Again, a node from which nodeset?
All possible input nodes from the source document, doc() functions?
Any node that you pass to the function as an argument. The result is
unique in the sense that if you call the function on two different
nodes, you get two different identifiers. Or as the spec puts it: "it
always generates the same identifier for the same node and ... different
identifiers are always generated from different nodes."
My inferences: I assumed (clearly wrongly by this thread) that it
generated an ID value (call it xml:id for now) that was unique as
per the definition in XML, i.e. unique amongst the nodes of the input
document.
The spec explicitly says "There is no guarantee that a generated unique
identifier will be distinct from any unique IDs specified in the source
document.".
Michael Kay
Saxonica
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--