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

RE: Why <br /> in XSLT Stylesheet changed to <br> in H

Subject: RE: Why <br /> in XSLT Stylesheet changed to <br> in HTML output
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 15 Jan 2004 10:49:51 -0000
br in a stylesheet
> 
> I have some <br /> tags in my XSLT stylesheet. But they are 
> changed to <br> in HTML after transformation. Any idea why 
> this is happening?
> 

It's happening because that's the correct way of representing a br
element in HTML, and because that's how the XSLT processor says it
should be done.

Tags, of course, disappear long before XSLT gets to see the data. All
that XSLT sees is a tree of nodes.

If you want <br />, then you're using the wrong output method.

Michael Kay


 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.