[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: output content after <br>

Subject: RE: output content after <br>
From: Américo Albuquerque <aalbuquerque@xxxxxxxxxxxxxxxx>
Date: Tue, 28 May 2002 14:28:19 +0100
br break in xslt
You see, the problema is that the <br/> tag is empty and when you apply the
<xsl:value-of> tag you are applying it to the tag node.

try with this xml and see what happens:
<par type="text">
    <content>Sound Pressure Level (LpA):<break>&#060;= x.x B(A), xx
dB(A)</break></content>
</par>

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of valerie
liston
Sent: terça-feira, 28 de Maio de 2002 14:00
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject:  output content after <br>


 Hello,
 I am having a problem outputting content that comes after a br tag.

Here is the xml:
<par type="text">
    <content>Sound Pressure Level (LpA):<break/>&#060;= x.x B(A), xx
dB(A)</content>
</par>

Heres my xslt;
<xsl:template match="content">
    <xsl:value-of select="node()"/>
    <xsl:apply-templates select="break"/>
</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>

Heres my output:
<td>Sound Pressure Level (LpA):<br></td>

How do I get the information after the <br> tag to appear?

Thanks for your help









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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.