diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-15 06:55:11 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-15 06:55:11 +0900 |
commit | d2cfd1f36d94c2377115f9ac79213eae31f83464 (patch) | |
tree | d33d3aadc7edbb0b5dd84194e053e16fc4410c06 /html/publishers.xsl | |
parent | 4c7d5230da2c9c32ccfd18cf1f46b8c50d32db7a (diff) | |
download | docbook-xsl-stylesheets-d2cfd1f36d94c2377115f9ac79213eae31f83464.tar.gz docbook-xsl-stylesheets-d2cfd1f36d94c2377115f9ac79213eae31f83464.tar.bz2 docbook-xsl-stylesheets-d2cfd1f36d94c2377115f9ac79213eae31f83464.zip |
Imported Upstream version 1.79.2upstream/1.79.2
Diffstat (limited to 'html/publishers.xsl')
-rw-r--r-- | html/publishers.xsl | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/html/publishers.xsl b/html/publishers.xsl index bfddf66..307f2ec 100644 --- a/html/publishers.xsl +++ b/html/publishers.xsl @@ -1,15 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:d="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" - exclude-result-prefixes="exsl" + exclude-result-prefixes="exsl d" version="1.0"> -<!-- $Id$ --> - - <!-- Support for the DocBook Publishers extension --> -<xsl:template match="drama"> +<xsl:template match="d:drama"> <div> <xsl:call-template name="common.html.attributes"/> @@ -23,7 +21,7 @@ </div> </xsl:template> -<xsl:template match="stagedir"> +<xsl:template match="d:stagedir"> <div> <xsl:call-template name="common.html.attributes"/> @@ -45,7 +43,7 @@ </div> </xsl:template> -<xsl:template match="inlinestagedir"> +<xsl:template match="d:inlinestagedir"> <span> <xsl:call-template name="common.html.attributes"/> @@ -68,7 +66,7 @@ </span> </xsl:template> -<xsl:template match="linegroup"> +<xsl:template match="d:linegroup"> <div> <xsl:call-template name="common.html.attributes"/> <xsl:call-template name="id.attribute"/> @@ -87,14 +85,14 @@ <xsl:if test="$make.clean.html = 0"> <xsl:attribute name="style">display: table-cell; width: 15%</xsl:attribute> </xsl:if> - <xsl:apply-templates select="speaker"/> + <xsl:apply-templates select="d:speaker"/> </div> <div> <xsl:if test="$make.clean.html = 0"> <xsl:attribute name="style">display: table-cell; width: 85%</xsl:attribute> </xsl:if> - <xsl:apply-templates select="*[not(self::speaker)]"/> + <xsl:apply-templates select="*[not(self::d:speaker)]"/> </div> </div> @@ -102,7 +100,7 @@ </div> </xsl:template> -<xsl:template match="speaker"> +<xsl:template match="d:speaker"> <div> <xsl:call-template name="common.html.attributes"/> <xsl:call-template name="id.attribute"/> @@ -111,7 +109,7 @@ </div> </xsl:template> -<xsl:template match="line"> +<xsl:template match="d:line"> <div> <xsl:call-template name="common.html.attributes"/> <xsl:call-template name="id.attribute"/> @@ -120,8 +118,8 @@ </div> </xsl:template> -<xsl:template match="drama/title"/> -<xsl:template match="poetry/title"/> -<xsl:template match="dialogue/title"/> +<xsl:template match="d:drama/d:title"/> +<xsl:template match="d:poetry/d:title"/> +<xsl:template match="d:dialogue/d:title"/> </xsl:stylesheet> |