Re: [xsl] output content after <br>

Subject: Re: [xsl] output content after <br>
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Tue, 28 May 2002 16:32:33 +0200


valerie liston wrote:
Hi Lawrence,

Thanks for your help. I tried
<xsl:template match="content">
     <xsl:value-of select="node()"/>
     <xsl:apply-templates/>
</xsl:template>
But it just seemed to add the first part of the content element twice;
Heres the output;
<td>Sound Pressure Level (LpA):Sound Pressure Level (LpA):<br>&lt;= x.x
B(A), xx dB(A)<br><br></td>

<xsl:apply-templates/> seems to apply all my templates twice?

Thanks,
Valerie

Hello Valerie,


no, it doesn't. The first occurence of "Sound Pressure ..." comes form your <xsl:value-of select="node()"/>. Remove it simply.

Joerg

--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@xxxxxxxxx
www.virbus.de


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread