Re: question about generate-id()
a given node? Again, a node from which nodeset?
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
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format