]> granicus.if.org Git - docbook-dsssl/commitdiff
define internal variables div.element and table.border.off to
authorBob Stayton <bobs@sagehill.net>
Sat, 28 Apr 2012 03:49:00 +0000 (03:49 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 28 Apr 2012 03:49:00 +0000 (03:49 +0000)
enable easier support of HTML5 syntax.

xsl/html/html.xsl

index 81c664365c699dc3895ceed87a968f3e79beb1c9..54a940472e39ea9aa3ccdb7158d0ad7f01d45ca5 100644 (file)
   </xsl:choose>
 </xsl:variable>
 
+<!-- Support switching to <section> for HTML5 stylesheet -->
+<!-- This is an internal variable that does not need to be set by a user -->
+<xsl:variable name="div.element">div</xsl:variable>
+<!-- Support turning off table  border with border="" for HTML5 -->
+<xsl:variable name="table.border.off">0</xsl:variable>
+
 <!-- The generate.html.title template is currently used for generating HTML -->
 <!-- "title" attributes for some inline elements only, but not for any -->
 <!-- block elements. It is called in eleven places in the inline.xsl -->