← Prev in month
← Prev in thread
DOCBOOK-APPS: XSL HTML stylesheets: support for DOCTYPE?
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/
← Prev in month
← Prev in thread