[Bug 5803] HTML5 serialization is not compatible with XSLT


--- Comment #9 from Henri Sivonen <hsivonen@iki.fi>  2008-06-26 07:45:40 ---
(In reply to comment #2)
> (In reply to comment #1)
> > Can't XSLT output arbitrary text, too?
> > 
> No. Although it is possible to use <xsl:text
> disable-output-escaping="yes">&lt;!DOCTYPE ...&gt;</xsl:text>,
> disable-output-escaping feature is only optional in XSLT language, it is not
> supported by all processors and it is working only when the output of XSLT
> transformation is directly serialized which is not always case.

If you aren't directly serializing the output of the XSLT program, surely XSLT
is the wrong stage to worry about the doctype. You wouldn't micromanage the XML
declaration, either, at that point.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 26 June 2008 07:46:18 UTC