Re: [xsl] output content after <br>

Subject: Re: [xsl] output content after <br>
From: "valerie liston" <valerie_liston@xxxxxxxxxxxxxx>
Date: Tue, 28 May 2002 07:16:21 -0700
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

valerie_liston@xxxxxxxxxxxxxx
00 353 61 419440

----- Original Message -----
From: "Lawrence Mielniczuk" <lwm@xxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Cc: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, May 28, 2002 6:29 AM
Subject: Re: [xsl] output content after <br>


> The following produces the output you are after:
>
> <xsl:template match="content">
>     <xsl:value-of select="node()"/>
>     <xsl:apply-templates/>
> </xsl:template>
>
> <xsl:template match="break">
>     <br/>
>     <xsl:value-of select="node()"/> <!-- I think its at this point that I
> need say output the remaining content -->
> </xsl:template>
>
> ---LwM---
> -------------------------------------
> Lawrence Mielniczuk
> Systems and Electronic Resources Service
> Room 314
> Bodleian Library
> Oxford OX1 3BG
> Tel: (01865) 277 114
> Mobile: 0781 647 9176
> -------------------------------------
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>



begin 666 InterScan_Disclaimer.txt
M3VUN:6)I;&ET>2!A=71O;6%T:6-A;&QY('-C86YS(&%L;"!I;F)O=6YD(&%N
M9"!O=71B;W5N9"!E+6UA:6P@871T86-H;65N=',N($AO=V5V97(L('=E(&UA
M>2!N;W0@8F4@86)L92!T;R!D971E8W0@;W(@<F5P86ER(&%L;"!V:7)U<V5S
M(&%N9"!V87)I86YT<RX@4&QE87-E(&)E(&%W87)E('1H870@=&AE<F4@:7,@
M82!R:7-K(&EN=F]L=F5D('=H96YE=F5R(&1O=VYL;V%D:6YG(&4M;6%I;"!A
M='1A8VAM96YT<R!T;R!Y;W5R(&-O;7!U=&5R(&]R('-E;F1I;F<@92UM86EL
9(&%T=&%C:&UE;G1S('1O(&]T:&5R<RX-"@  
end


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


Current Thread