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

RE: including the HTML <BR> in XSL template

Subject: RE: including the HTML <BR> in XSL template
From: Khun Yee Fung <KFung@xxxxxxxxxx>
Date: Thu, 27 Apr 2000 13:01:40 -0400
xsl output br
However, right after the syntax of the <xsl:output> element in Section 16,
we have:

	The xsl:output element allows stylesheet authors to specify how they
wish the 	result tree to be output. If an XSLT processor outputs the
result tree, it 	should do so as specified by the xsl:output element;
however, it is not 	required to do so.

So, my understanding is that the <xsl:output> element only provides hints to
the XSLT processor; and the processor can ignore the hints. Is my
understanding accurate?

Regards,
Khun Yee


-----Original Message-----
From: David Marston/CAM/Lotus [mailto:David_Marston@xxxxxxxxx]
Sent: Thursday, April 27, 2000 10:51 AM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: Re: including the HTML <BR> in XSL template



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


 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.