We’ve been trying to use, in our xsl document:
 
<?xml version="1.0" encoding="ISO-8859-1"?>
 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
<xsl:output method="html" version="4.0"
doctype-public="-//W3C//DTD HTML 4.01//EN"
 
and have been getting, in our result HTML document:
 
<!DOCTYPE html PUBLIC "-//W3C//DTD%20HTML%204.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
 
instead of:
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
 
We are now using:
 
<xsl:template match="/">
        <xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD "http://www.w3.org/TR/html4/strict.dtd"></xsl:text>
 
This solved our problem, but it’s cheating.
 
Please help. Thank you.
 
Nuno Silva & Richard Guise
Portugal

Reply via email to