<xsl:call-template name="id.warning"/>
- <div>
+ <xsl:element name="{$div.element}">
<xsl:call-template name="common.html.attributes">
<xsl:with-param name="inherit" select="1"/>
</xsl:call-template>
</xsl:if>
<xsl:apply-templates/>
<xsl:call-template name="process.chunk.footnotes"/>
- </div>
+ </xsl:element>
</xsl:template>
<xsl:template name="section.title">
<xsl:template match="sect1">
<xsl:call-template name="id.warning"/>
- <div>
+ <xsl:element name="{$div.element}">
<xsl:call-template name="common.html.attributes">
<xsl:with-param name="inherit" select="1"/>
</xsl:call-template>
</xsl:if>
<xsl:apply-templates/>
<xsl:call-template name="process.chunk.footnotes"/>
- </div>
+ </xsl:element>
</xsl:template>
<xsl:template match="sect1/title
<xsl:template match="sect2">
<xsl:call-template name="id.warning"/>
- <div>
+ <xsl:element name="{$div.element}">
<xsl:call-template name="common.html.attributes">
<xsl:with-param name="inherit" select="1"/>
</xsl:call-template>
</xsl:if>
<xsl:apply-templates/>
<xsl:call-template name="process.chunk.footnotes"/>
- </div>
+ </xsl:element>
</xsl:template>
<xsl:template match="sect2/title
<xsl:template match="sect3">
<xsl:call-template name="id.warning"/>
- <div>
+ <xsl:element name="{$div.element}">
<xsl:call-template name="common.html.attributes">
<xsl:with-param name="inherit" select="1"/>
</xsl:call-template>
</xsl:if>
<xsl:apply-templates/>
<xsl:call-template name="process.chunk.footnotes"/>
- </div>
+ </xsl:element>
</xsl:template>
<xsl:template match="sect3/title
<xsl:template match="sect4">
<xsl:call-template name="id.warning"/>
- <div>
+ <xsl:element name="{$div.element}">
<xsl:call-template name="common.html.attributes">
<xsl:with-param name="inherit" select="1"/>
</xsl:call-template>
</xsl:if>
<xsl:apply-templates/>
<xsl:call-template name="process.chunk.footnotes"/>
- </div>
+ </xsl:element>
</xsl:template>
<xsl:template match="sect4/title
<xsl:template match="sect5">
<xsl:call-template name="id.warning"/>
- <div>
+ <xsl:element name="{$div.element}">
<xsl:call-template name="common.html.attributes">
<xsl:with-param name="inherit" select="1"/>
</xsl:call-template>
</xsl:if>
<xsl:apply-templates/>
<xsl:call-template name="process.chunk.footnotes"/>
- </div>
+ </xsl:element>
</xsl:template>
<xsl:template match="sect5/title
<xsl:template match="simplesect">
<xsl:call-template name="id.warning"/>
- <div>
+ <xsl:element name="{$div.element}">
<xsl:call-template name="common.html.attributes">
<xsl:with-param name="inherit" select="1"/>
</xsl:call-template>
<xsl:call-template name="simplesect.titlepage"/>
<xsl:apply-templates/>
- </div>
+ </xsl:element>
</xsl:template>
<xsl:template match="simplesect/title|simplesect/info/title"