This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Any suggestion.


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]