Re: identical key generation on multiple nodes?
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Georges Discry wrote: > Ids are supposed to be unique so there can only be only one node with a > specific id. You'll have to use a specific attribute to do what you want... > Additionally, I think that the value of an id cannot start with a number... I found the solution. It seems the nodes have to be processed recursively, otherwise, It looks like there is no way of solving the problem (no way of controlling how unique pairs are generated. I basically generate identical id's that are unique to the pairs of pages following a page.figurex found in the <identity> tag. I create an Identity tag on the first page following the first <identity id="page.figure1" and I make sure that its corresponding page has an identical identity tag (that is the first page following the second page that has an <identity id="page.figure1"). The same logic applies to all following pages in figure1 and figure2 also. Regards Jean-Francois Michaud