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

RE: HTML output with non visible line breaks

Subject: RE: HTML output with non visible line breaks
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Tue, 21 Dec 1999 10:29:26 -0700
add line break html xsl
Guy Pirostsky wrote:
> How can I create output that preserves non visible line 
> breaks (from the Stylesheet )?

Whitespace in the stylesheet that does not appear in the contents of
xsl:text elements is stripped before processing, according to the XSLT spec.
If using the top-level element <xsl:output method="html" indent="yes"/> does
not give you the results you want, you can add <xsl:text>&#10;</xsl:text> to
insert a linefeed character where desired. Try the indent attribute first
though, and remember that whitespace has significance in HTML as a word
separator, so it's not always desirable to have "pretty" HTML.


 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.