This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: output content after <br>




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@virbus.de
www.virbus.de


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]