Subject: Any suggestion. From: "Vetrivel Murugan C." <mvet@xxxxxxxxxxxxxxxxxxx> Date: Mon, 21 Aug 2000 11:15:44 +0530 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Identity stylesheet, DuCharme, Robert | Thread | Re: Any suggestion., Mike Brown |
Re: Identity stylesheet, Mike Brown | Date | to extract the longest string. (fwd, C.V. Radhakrishnan |
Month |