Subject: Re: [xsl] RE: Is xsl:for-each "syntactic sugar"? From: David Carlisle <davidc@xxxxxxxxx> Date: Sat, 08 May 2010 00:06:18 +0100 |
I do not believe that this task can be accomplished using xsl:for-each.
<xsl:template match="BankTransactions"> <xsl:for-each select="Transaction"> <xsl:value-of select="sum(.|preceding-sibling::*),' '"/> </xsl:for-each> </xsl:template>
$ saxon9 rc.xml rc.xsl <?xml version="1.0" encoding="UTF-8"?>95 92.5 102.5 95
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] RE: Is xsl:for-each "syntacti, Costello, Roger L. | Thread | Re: [xsl] RE: Is xsl:for-each "synt, Liam R E Quin |
[xsl] RE: Is xsl:for-each "syntacti, Costello, Roger L. | Date | Re: [xsl] RE: Is xsl:for-each "synt, Liam R E Quin |
Month |