|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: HTML output with non visible line breaks
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> </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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








