Subject: RE: HTML output with non visible line breaks From: Mike Brown <mbrown@xxxxxxxxxxxxx> Date: Tue, 21 Dec 1999 10:29:26 -0700 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
HTML output with non visible line b, Guy Pirostsky | Thread | XT processor, Marco . Mistroni |
RE: XSL Variable Tag and ASP, Ben Robb | Date | Re: XSL Variable Tag and ASP, Steve Muench |
Month |