Re: DOCBOOK-APPS: XSL HTML stylesheets: support for DOCTYPE?

From
Norman Walsh <>
Date
2001-01-10T00:52:20+00:00
ID
Thread
Re: DOCBOOK-APPS: XSL HTML stylesheets: support for DOCTYPE?
/  was heard to say:
| Could you add support for adding a DOCTYPE to HTML
| output pages?  Just a small <xsl:template
| name="doctype"/> that we could override would be fine,
| or you could provide a default DOCTYPE:

You can't do that with a template, you should do that in your own
customization layer with xsl:output:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

<xsl:import href="../html/docbook.xsl"/>

<xsl:output doctype-public="..." doctype-system="..."/>

</xsl:stylesheet>

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <>      | A man can believe a considerable
http://www.oasis-open.org/docbook/ | deal of rubbish, and yet go about
Chair, DocBook Technical Committee | his daily work in a rational and
                                   | cheerful manner.--Norman Douglas