[yelp-xsl] db2html-block: Support the DocBook sidebar element
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] db2html-block: Support the DocBook sidebar element
- Date: Wed, 18 Jan 2012 23:52:00 +0000 (UTC)
commit 91ab1538f2aace9e79a385a20313645314009436
Author: Shaun McCance <shaunm gnome org>
Date: Wed Jan 18 18:50:57 2012 -0500
db2html-block: Support the DocBook sidebar element
https://bugzilla.gnome.org/show_bug.cgi?id=470575
xslt/docbook/html/db2html-block.xsl | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-block.xsl b/xslt/docbook/html/db2html-block.xsl
index 5ce3777..6d98ca3 100644
--- a/xslt/docbook/html/db2html-block.xsl
+++ b/xslt/docbook/html/db2html-block.xsl
@@ -527,6 +527,18 @@ syntax highlighting support based on the #{language} attribute of ${node}.
<xsl:call-template name="db2html.block"/>
</xsl:template>
+<!-- = sidebar = -->
+<xsl:template match="sidebar | db:sidebar">
+ <xsl:call-template name="db2html.block.formal">
+ <xsl:with-param name="class" select="'note note-sidebar'"/>
+ <xsl:with-param name="titleattr">
+ <xsl:call-template name="l10n.gettext">
+ <xsl:with-param name="msgid" select="'Sidebar'"/>
+ </xsl:call-template>
+ </xsl:with-param>
+ </xsl:call-template>
+</xsl:template>
+
<!-- = simpara = -->
<xsl:template match="simpara | db:simpara">
<xsl:call-template name="db2html.para"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]