1 <?xml version="1.0" encoding="ASCII"?>
2 <!--This file was created automatically by html2xhtml-->
3 <!--from the HTML stylesheets.-->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="exsl" version="1.0">
9 <!-- Support for the DocBook Publishers extension -->
10 <xsl:template match="drama">
13 <xsl:call-template name="common.html.attributes"/>
14 <xsl:call-template name="id.attribute"/>
15 <xsl:call-template name="anchor"/>
17 <xsl:call-template name="drama.titlepage"/>
19 <xsl:apply-templates/>
24 <xsl:template match="stagedir">
27 <xsl:call-template name="common.html.attributes"/>
28 <xsl:call-template name="id.attribute"/>
30 <xsl:when test="$make.clean.html = 0">
31 <xsl:attribute name="style">
32 <xsl:text>font-style:italic; font-weight:bold;</xsl:text>
39 <xsl:call-template name="anchor"/>
41 <xsl:apply-templates/>
46 <xsl:template match="inlinestagedir">
49 <xsl:call-template name="common.html.attributes"/>
50 <xsl:call-template name="id.attribute"/>
52 <xsl:when test="$make.clean.html = 0">
53 <xsl:attribute name="style">
54 <xsl:text>font-style:italic; font-weight:bold;</xsl:text>
56 <xsl:call-template name="anchor"/>
57 <xsl:text> [</xsl:text>
58 <xsl:apply-templates/>
59 <xsl:text>] </xsl:text>
62 <xsl:call-template name="anchor"/>
63 <xsl:apply-templates/>
69 <xsl:template match="linegroup">
71 <xsl:call-template name="common.html.attributes"/>
72 <xsl:call-template name="id.attribute"/>
73 <xsl:if test="$make.clean.html = 0">
74 <xsl:attribute name="style">
75 <xsl:text>width: 100%; display: table; margin-top: 5px;</xsl:text>
78 <xsl:call-template name="anchor"/>
81 <xsl:if test="$make.clean.html = 0">
82 <xsl:attribute name="style">display: table-row;</xsl:attribute>
85 <xsl:if test="$make.clean.html = 0">
86 <xsl:attribute name="style">display: table-cell; width: 15%</xsl:attribute>
88 <xsl:apply-templates select="speaker"/>
92 <xsl:if test="$make.clean.html = 0">
93 <xsl:attribute name="style">display: table-cell; width: 85%</xsl:attribute>
95 <xsl:apply-templates select="*[not(self::speaker)]"/>
103 <xsl:template match="speaker">
105 <xsl:call-template name="common.html.attributes"/>
106 <xsl:call-template name="id.attribute"/>
107 <xsl:call-template name="anchor"/>
108 <xsl:apply-templates/>
112 <xsl:template match="line">
114 <xsl:call-template name="common.html.attributes"/>
115 <xsl:call-template name="id.attribute"/>
116 <xsl:call-template name="anchor"/>
117 <xsl:apply-templates/>
121 <xsl:template match="drama/title"/>
122 <xsl:template match="poetry/title"/>
123 <xsl:template match="dialogue/title"/>