Subject: [xsl] Converting xml to csv From: Sven Waibel <sven.waibel@xxxxxxxx> Date: Mon, 11 Dec 2006 15:56:08 +0100 |
Hello, i'm converting xml to csv and so i wrote a xslt template to do that. It look's like the following (simplified example): <xsl:template match="car"> <xsl:value-of select="@type"/> <xsl:apply-templates select="power"/> <xsl:text /> </xsl:template> <xsl:template match="power"> [ <xsl:value-of select="."/> ] <xsl:template> The result is a little bit different from what i've expected. Audi [ 100 ] I expected: Audi [100] How can i achieve it that it looks like i want without the spaces between templates and between rows? Thanks in advance Sven
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT 1.0 newbie: sum of s, cknell | Thread | Re: [xsl] Converting xml to csv, David Carlisle |
Re: [xsl] XSLT 1.0 newbie: sum of s, David Carlisle | Date | Re: [xsl] Converting xml to csv, David Carlisle |
Month |