This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
XSL HTML stylesheets: support for DOCTYPE?
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: XSL HTML stylesheets: support for DOCTYPE?
- From: pilgrim_mark at yahoo dot com
- Date: Wed, 03 Jan 2001 06:05:22 -0800 (PST)
Norm,
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:
<xsl:template name="doctype">
<xsl:text disable-output-escaping="yes"><!DOCTYPE
html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"></xsl:text>
</xsl:template>
Then insert <xsl:call-template name="doctype"/> in
these places, just before the <html> tag:
docbook.xsl
<xsl:template match="*" mode="process.root">
chunk_common.xsl
<xsl:template name="chunk-element-content">
Thanks.
-M
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/