This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: XSL HTML stylesheets: support for DOCTYPE?
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: XSL HTML stylesheets: support for DOCTYPE?
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Tue, 09 Jan 2001 19:30:40 -0500
- References: <20010103140522.4817.qmail@web6403.mail.yahoo.com>
/ pilgrim_mark@yahoo.com 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 <ndw@nwalsh.com> | 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