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

RE: Trying to put a <BR> in a string parameter

Subject: RE: Trying to put a <BR> in a string parameter
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 13 Jul 2001 13:12:43 +0100
RE:  Trying to put a <BR> in a string parameter
> I have a template I'm calling, and I'm passing it a string (someone's
> address). The address is made up of multiple Nodes. I'm
> looping through
> these nodes and adding there text content to my parameter.
>
> The loop is fine, and does pass the whole address to the
> parameter, but I
> want to introduce a <BR> tag after each line. I've tried
> everything I can
> think of, but the tag does not want to appear.
>
> This seems like the simplest way of doing it, but it doesn't work:
> <xsl:value-of select="." /><br/>

That's the correct way to do it. The reason it didn't work probably lies in
the way you used the parameter value, not in the way you constructed it.

Mike Kay
Software AG


 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.