This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]