[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: XSL HTML stylesheets: support for DOCTYPE?
/ 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC