summaryrefslogtreecommitdiff
path: root/xhtml-1_1/block.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xhtml-1_1/block.xsl')
-rw-r--r--xhtml-1_1/block.xsl46
1 files changed, 29 insertions, 17 deletions
diff --git a/xhtml-1_1/block.xsl b/xhtml-1_1/block.xsl
index 41ba847..58e736e 100644
--- a/xhtml-1_1/block.xsl
+++ b/xhtml-1_1/block.xsl
@@ -1,10 +1,7 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+<?xml version="1.0" encoding="ASCII"?><!--This file was created automatically by html2xhtml--><!--from the HTML stylesheets.--><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.
@@ -145,7 +142,7 @@
</span>
</xsl:when>
<xsl:otherwise>
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">
+ <strong>
<xsl:copy-of select="$titleStr"/>
<xsl:if test="$lastChar != '' and not(contains($runinhead.title.end.punct, $lastChar))">
<xsl:value-of select="$runinhead.default.title.end.punct"/>
@@ -215,7 +212,7 @@
<xsl:otherwise>
<div class="blockquote-title">
<p>
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">
+ <strong>
<xsl:apply-templates/>
</strong>
</p>
@@ -248,7 +245,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 +260,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">
@@ -293,7 +305,7 @@
</span>
</xsl:when>
<xsl:otherwise>
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform"><xsl:apply-templates/></strong>
+ <strong><xsl:apply-templates/></strong>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -310,7 +322,7 @@
</span>
</xsl:when>
<xsl:otherwise>
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform"><xsl:apply-templates/></strong>
+ <strong><xsl:apply-templates/></strong>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -327,7 +339,7 @@
</span>
</xsl:when>
<xsl:otherwise>
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform"><xsl:apply-templates/></strong>
+ <strong><xsl:apply-templates/></strong>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -355,7 +367,7 @@
</xsl:when>
<xsl:otherwise>
<p>
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">
+ <strong>
<xsl:call-template name="gentext.template">
<xsl:with-param name="context" select="'msgset'"/>
<xsl:with-param name="name" select="'MsgLevel'"/>
@@ -382,7 +394,7 @@
</xsl:when>
<xsl:otherwise>
<p>
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">
+ <strong>
<xsl:call-template name="gentext.template">
<xsl:with-param name="context" select="'msgset'"/>
<xsl:with-param name="name" select="'MsgOrig'"/>
@@ -409,7 +421,7 @@
</xsl:when>
<xsl:otherwise>
<p>
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">
+ <strong>
<xsl:call-template name="gentext.template">
<xsl:with-param name="context" select="'msgset'"/>
<xsl:with-param name="name" select="'MsgAud'"/>
@@ -436,7 +448,7 @@
</xsl:when>
<xsl:otherwise>
<p>
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">
+ <strong>
<xsl:apply-templates/>
</strong>
</p>
@@ -466,7 +478,7 @@
</xsl:if>
<tr>
<th align="{$direction.align.start}" valign="top" colspan="3">
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">
+ <strong>
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'RevHistory'"/>
</xsl:call-template>
@@ -564,4 +576,4 @@
<!-- ==================================================================== -->
-</xsl:stylesheet>
+</xsl:stylesheet> \ No newline at end of file