Subject: Re: [xsl] node's full content + some modifications in that From: "Földényi Tamás" <ftomi@xxxxxxx> Date: Thu, 22 Jul 2004 00:54:25 +0200 |
Thanks, Mukul! It works great! :) > Please try this XSL - > > <?xml version="1.0" encoding="ISO-8859-1"?> > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > > <xsl:output method="html" indent="yes"/> > > <xsl:template match="/"> > <html> > <body> > <table> > <xsl:for-each select="catalog/cd"> > <tr> > <td> > <xsl:apply-templates select="artist"/> > </td> > </tr> > </xsl:for-each> > </table> > </body> > </html> > </xsl:template> > > <xsl:template match="artist"> > <xsl:apply-templates /> > </xsl:template> > > <xsl:template match="tab"> > <xsl:text> </xsl:text> > </xsl:template> > > <xsl:template match="*[(name() != 'artist') and > (name() != 'tab')]"> > <xsl:element name="{name()}"> > <xsl:apply-templates /> > </xsl:element> > </xsl:template> > > </xsl:stylesheet>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] node's full content + som, Mukul Gandhi | Thread | [xsl] How to use xsl:result-documen, Anita.Lund |
Re: [xsl] Need: XSL FO Schema/ .XSD, J.Pietschmann | Date | [xsl] Grouping elements using XSL, michael . s . eberha |
Month |