Subject: Re: [xsl] Referencing unique values by their order number. From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 8 Dec 2006 23:22:25 GMT |
If youve already made <items> <item>V1</item> <!-- item 0 --> <item>V2</item> <!-- item 1 --> <item>V3</item> <!-- item 2 --> </items> and put it in file1.xml then <item><xsl:value-of select="'missing-expression'"/></item> is <item><xsl:value-of select="count(doc('file1.xml')/items/item[.=current()]/preceding-sibling::*)"/></item> as always, keys can be used to speed up this kind of expression. David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Referencing unique values by , Andreas Kemkes | Thread | Re: [xsl] Referencing unique values, Andreas Kemkes |
[xsl] Referencing unique values by , Andreas Kemkes | Date | Re: [xsl] Need Help, David Carlisle |
Month |