[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] how to close html tags : link, meta,...


Subject: Re: [xsl] how to close html tags : link, meta,...
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 13 Aug 2003 09:35:53 +0100

  <xsl:text disable-output-escaping="yes">&lt;?xml-stylesheet type="text/xsl"
  href="http://www.w3.org/Math/XSL/mathml.xsl"?&gt;&#10;</xsl:text> <html>


dont't use disable-output escaping for this (or anything else!)
To generate a processing instruction use <xsl:processing-instruction.


If you want HTML (rather than XML) syntax just use

<link rel="stylesheet" type="text/css" href="{$cssFile}"/>

and then oputput using html by specifying
<xsl:output method="html"/>

If your top level element had been <html> the system would have
defaulted to html output automatically. (
<xsl:text disable-output-escaping="yes
probably stopped that defaulting)

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread