summaryrefslogtreecommitdiff
path: root/xhtml/block.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xhtml/block.xsl')
-rw-r--r--xhtml/block.xsl19
1 files changed, 17 insertions, 2 deletions
diff --git a/xhtml/block.xsl b/xhtml/block.xsl
index 4be274d..11351cf 100644
--- a/xhtml/block.xsl
+++ b/xhtml/block.xsl
@@ -4,7 +4,7 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
<!-- ********************************************************************
- $Id: block.xsl 9353 2012-05-12 23:24:54Z bobstayton $
+ $Id: block.xsl 9667 2012-11-26 23:10:44Z bobstayton $
********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
@@ -248,7 +248,7 @@
<!-- ==================================================================== -->
-<xsl:template match="abstract|sidebar">
+<xsl:template match="sidebar">
<div>
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
@@ -263,6 +263,21 @@
<xsl:template match="sidebar/sidebarinfo|sidebar/info"/>
+<xsl:template match="abstract">
+ <div>
+ <xsl:call-template name="common.html.attributes"/>
+ <xsl:call-template name="anchor"/>
+ <xsl:call-template name="formal.object.heading">
+ <xsl:with-param name="title">
+ <xsl:apply-templates select="." mode="title.markup">
+ <xsl:with-param name="allow-anchors" select="'1'"/>
+ </xsl:apply-templates>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ </div>
+</xsl:template>
+
<!-- ==================================================================== -->
<xsl:template match="msgset">