Subject: [xsl] double XSLT processing question From: "bix xslt" <bix_xslt@xxxxxxxxxxx> Date: Wed, 04 Dec 2002 23:13:57 +0000 |
<data><text>food</text> <data><text>apple</text></data> <data><text>orange</text></data> </data>
With the following XSL: <xsl:stylesheet> <xsl:template match="/"> <xsl:call-template name="ouptutFood" /> </xsl:template>
<xsl:template name="outputFood"> <table type="changeThis"> <tr> <xsl:for-each "./data"> <td><xsl:value-of select="./text" /></td> </xsl:for-each> </table> </xsl:template> </xsl:stylesheet>
<xsl:stylesheet> <xsl:template match="table"> <xsl:if test="@type='changeThis'"> <table border="1"><xsl:apply-templates /></table> </xsl:if> </xsl:template> </xsl:stylesheet>
Thanks in advance, Bix
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] following-sibling questio, Michael Kay | Thread | Re: [xsl] double XSLT processing qu, Joerg Heinicke |
Re: [xsl] Newbie encoding query, Bryan Schnabel | Date | RE: [xsl] Newbie encoding query, Passin, Tom |
Month |