|
[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
That is an automatic conversion for an HTML output type. You have two options: Force the output to xml using the output element, or include the xhtml namespace in the html root element. so you can either include <xsl:output method="xml" indent="yes" xmlns:xalan="http://xml.apache.org/xslt" xalan:indent-amount="4" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" encoding="iso-8859-1"/> or you can replace <html> with <html xmlns:htm="http://www.w3.org/1999/xhtml"> Or, better yet, both! --Brendan ----- Original Message ----- From: "Jiang, Peiyun" <Peiyun.Jiang@xxxxxxxxxxxxxx> Date: Wednesday, January 14, 2004 12:19 pm Subject: Why <br /> in XSLT Stylesheet changed to <br> in HTML output > 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? > > Thanks. > > Peiyun Jiang > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > 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








