Different nodes are different nodes. Which document they are in doesn't matter.
After all, the generated ids may be used as values for an xml:id
attribute in the output, which might contain the contents of the two
2008/11/20 Vladimir Nesterovsky <vlad...@nesterovsky-bros.com>:
Can someone please clarify the scope of uniqueness of generate-id()
The generate-id function returns a string that uniquely identifies a given
An implementation ... always generates the same identifier for the same
that different identifiers are always generated from different nodes.
An implementation is under no obligation to generate the same identifiers
each time a document is transformed.
Does this mean that values of generate-id() call for two different nodes
from two different temporary trees created in the course of transformation
MUST be different?