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

Carriage returns within attribute values

Subject: Carriage returns within attribute values
From: BOUCHET Sébastien <sebastien.bouchet@xxxxxxx>
Date: Fri, 24 Sep 1999 15:31:15 +0200
carriage returns in title tag
Title: Carriage returns within attribute values

Hi,

when outputing the value of attribute "att" in  <elt att="firstword secondword"> with XSLT,
I get :

firtsword secondword

which is not a big discovery. Now imagine you want to output the two words on 2 separate lines, i.e :

firstword
secondword

I tried to change the XML file : <elt att="firstword
secondword">

But it doesn't help : the \n is processed like a white space. Is there a standard way to achive this goal, a kind of <elt att="firstword\nsecondword"> ?

Thanks,

Sebastien


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.