Search found 3 matches

by jamalf
Fri Apr 03, 2009 5:16 pm
Forum: XSLT and FOP
Topic: XSLT: SUM function how to
Replies: 4
Views: 11039

Re: XSLT: SUM function how to

It works now in the right way only if there are blank cells, you get a NAN xml: <table> <tbody> <tr> <td></td> <td>10</td> <td>10</td> </tr> <tr> <td>20</td> <td>1000</td> <td>1000</td> </tr> <tr> <td>30</td> <td>10</td> <td>10</td> </tr> </tbody> </table> xslt: <xsl:template name="columnTotal"> <tr...
by jamalf
Fri Apr 03, 2009 2:47 pm
Forum: XSLT and FOP
Topic: XSLT: SUM function how to
Replies: 4
Views: 11039

Re: XSLT: SUM function how to

This is great :D Thank you so much John!

Cheers,
by jamalf
Fri Apr 03, 2009 11:55 am
Forum: XSLT and FOP
Topic: XSLT: SUM function how to
Replies: 4
Views: 11039

XSLT: SUM function how to

Hi, who can help me :? i want to count the position of the td xml: <table> <tbody> <tr> <td>10</td> <td>10</td> </tr> <tr> <td>20</td> <td>1000</td> </tr> <tr> <td>30</td> <td>10</td> </tr> </tbody> </table> xslt: <xsl:template match="/"> <xsl:apply-templates/> </xsl:template> <xsl:template match="t...