|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How do I get a SUM of the string-length of all child
I am not sure how to do this:
here is what I have which is obviously incorrect:
<xsl:template match="/*/*/*" >
<xsl:param name="rcnt" />
<xsl:choose>
<xsl:when test="position()=1">
<xsl:variable name="csum" select="sum(string-length(.))"/>
rsizes <xsl:value-of select="$rcnt"/> =<xsl:value-of select="$csum"/>;
</xsl:when>
<xsl:otherwise>
bt('<td align="center"> ');
bt('<xsl:value-of select="."/> ');
bt('</td> ');
</xsl:otherwise>
</xsl:choose>
</xsl:template>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








