This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: including the HTML <BR> in XSL template
- To: xsl-list at mulberrytech dot com
- Subject: Re: including the HTML <BR> in XSL template
- From: "David Marston/CAM/Lotus" <David_Marston at lotus dot com>
- Date: Thu, 27 Apr 2000 10:50:47 -0400
- Reply-To: xsl-list at mulberrytech dot com
Matt says:
>Some browsers just don't like the <BR/> format, and display two empty
>lines with the <BR></BR> format.
I think Betty was trying to present a real solution. Putting it all
together:
1. xsl:output method="html" specified
2. Stylesheet says to output <BR/>
3. XSLT processor takes (1) into account when performing (2), so it
actually generates <BR>
As already mentioned, the above behavior is required by the XSLT
spec (Section 16.2, paragraph 4), so you can depend on it. Xalan has
been tested and shown to do the above correctly.
.................David Marston
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list