Re: HTML <script> tag
On Wednesday 28 August 2002 08:57, David Carlisle wrote: > I lied. > > As others have correctly commented the white space will be stripped so > you need > <script><xsl:text> > </xsl:text></script> That will work, but really all you need (and you will need this for other tags, like <br/> which needs to be just <br>), is <xsl:output method="html"/> That's it. This will not output xhtml, this will output html. If you set the doctype as well, then your browser should have no problem. Whether it's Mozilla 1.1 or Mosaic (well, I guess Mosaic probably doesn't know anything about html 4.0 or doctypes. But still.). -- Peter Davis 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