Subject: [xsl] Resolving Variable Redefining Issues in a For Each From: "Sian Mace" <sianmace@xxxxxxxxxxx> Date: Wed, 30 Mar 2005 10:58:47 +0000 |
<Root> <Wrapper> <Detail> <Unit RecordID="1" Code="1" Total="2" /> <Unit RecordID="1" Code="1" Total="2" /> <Unit RecordID="1" Code="2" Total="2" /> <Unit RecordID="1" Code="2" Total="2" /> <Unit RecordID="1" Code="3" Total="2" /> <Unit RecordID="2" Code="3" Total="2" /> <Unit RecordID="2" Code="3" Total="2" /> <Unit RecordID="2" Code="4" Total="2" /> <Unit RecordID="2" Code="4" Total="2" /> </Detail> </Wrapper> </Root>
<xsl:attribute name="Type"> <xsl:value-of select="$thisRID/@RecordID"/> </xsl:attribute>
</xsl:element> </xsl:template> </xsl:stylesheet>
Record Type 1 Code - 1 Total - 4 Code - 2 Total - 4 Code - 3 Total - 2 Record Type 2 Code - 3 Total - 4 Code - 4 Total - 4
What i actually get is Record Type 1 Code - 1 Total - 4 Code - 2 Total - 4 Code - 3 Total - 2 Record Type 2 Code - 4 Total - 4
Thanks Sian
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Xml2PDF formatter version 2.2, Altsoft Xml2PDF | Thread | Re: [xsl] Resolving Variable Redefi, David Carlisle |
Re: [xsl] New Developer Survey Show, Ragulf Pickaxe | Date | Re: [xsl] Resolving Variable Redefi, Mukul Gandhi |
Month |