Subject: Re: [xsl] generate-id() explanation From: a kusa <akusa8@xxxxxxxxx> Date: Mon, 24 May 2010 12:47:15 -0500 |
Sorry about that. I tried this on one of my files, and ran the transformation using saxon. But it generated the same ids for two nodes in the same XML file. In my program I use <list2 id="{generate-id(.)}"> That's the reason I asked again. I wanted to make sure I was understanding this correctly. Does it matter if you say generate-id(.) or just generate-id()? On 5/24/10, Michael Kay <mike@xxxxxxxxxxxx> wrote: > > > > So in one transform, in the same XML document, if there were > > more than one <list2> elements, generate-id() will generate > > unique ids for all of the <list2> elements? > > > > How many times do you need the answer? Yes. > > Regards, > > Michael Kay > http://www.saxonica.com/ > http://twitter.com/michaelhkay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] generate-id() explanation, Michael Kay | Thread | RE: [xsl] generate-id() explanation, Michael Kay |
RE: [xsl] generate-id() explanation, Michael Kay | Date | RE: [xsl] generate-id() explanation, Michael Kay |
Month |