This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Any suggestion.
- To: xsl-list at mulberrytech dot com
- Subject: Any suggestion.
- From: "Vetrivel Murugan C." <mvet at sonata-software dot com>
- Date: Mon, 21 Aug 2000 11:15:44 +0530
- Reply-To: xsl-list at mulberrytech dot com
> hi all,
> i have problem in doing xsl.i am using IE5.0
> my xml is as follows
> <xslTutorial > <chapter>Chapter A</chapter> <chapter>Chapter B</chapter>
> <chapter>Chapter C</chapter>
> <chapter>Chapter D</chapter> </xslTutorial>
> and my xsl is as follows
> <xsl:stylesheet version='1.0'
> xmlns:xsl='http://www.w3.org/1999/XSL/Transform' >
> <xsl:variable name="totalChapters"> <xsl:value-of
> select="//chapter[last()]"/> </xsl:variable>
> <xsl:template match="/"> <xsl:value-of select="$totalChapters"/>
> </xsl:template>
> </xsl:stylesheet>
> nothing is printing when open xml file.
> thanking all .
Regards
c.Sadanand
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list