atom feed15 messages in com.mulberrytech.lists.xsl-listRe: [xsl] Scope of uniqueness of gene...
FromSent OnAttachments
Vladimir NesterovskyNov 20, 2008 3:41 am 
Colin AdamsNov 20, 2008 3:50 am 
David CarlisleNov 20, 2008 4:01 am 
Michael KayNov 20, 2008 4:03 am 
Vladimir NesterovskyNov 20, 2008 4:50 am 
David CarlisleNov 20, 2008 4:55 am 
David CarlisleNov 20, 2008 4:55 am 
Florent GeorgesNov 20, 2008 4:56 am 
Vyacheslav SedovNov 20, 2008 5:10 am 
David CarlisleNov 20, 2008 5:12 am 
David CarlisleNov 20, 2008 5:16 am 
Florent GeorgesNov 20, 2008 6:03 am 
Vladimir NesterovskyNov 20, 2008 8:52 am 
Michael KayNov 20, 2008 9:05 am 
John SnelsonNov 20, 2008 9:12 am 
Subject:Re: [xsl] Scope of uniqueness of generate-id()
From:Colin Adams (coli@googlemail.com)
Date:Nov 20, 2008 3:50:54 am
List:com.mulberrytech.lists.xsl-list

Yes. 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 temporary trees.

2008/11/20 Vladimir Nesterovsky <vlad@nesterovsky-bros.com>:

Hello!

Can someone please clarify the scope of uniqueness of generate-id() function?

Spec says: The generate-id function returns a string that uniquely identifies a given node... An implementation ... always generates the same identifier for the same node and 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?

Thanks.