2 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
3 xmlns:
d=
"http://docbook.org/ns/docbook"
6 <xsl:import href=
"http://docutils.svn.sourceforge.net/viewvc/docutils/trunk/sandbox/docbook/xsl/docutils_to_docbook.xsl"/>
8 <xsl:template match=
"inline[@classes='my-note']"/>
10 <xsl:template name=
"colspec-align">
11 <xsl:param name=
"classes"/>
12 <xsl:param name=
"position"/>
14 <xsl:when test=
"$classes='receive-hours' and $position > 1">
15 <xsl:text >right
</xsl:text>
17 <xsl:when test=
"$classes='cutover-costs' and $position > 1">
18 <xsl:text >right
</xsl:text>
20 <xsl:when test=
"$classes='projected-summary' and $position > 1">
21 <xsl:text >right
</xsl:text>
23 <xsl:when test=
"$classes='projected-costs' and $position > 1">
24 <xsl:text >right
</xsl:text>
26 <xsl:when test=
"$classes='projected-exceptions' and $position > 1">
27 <xsl:text >right
</xsl:text>
29 <xsl:when test=
"$classes='projected-exceptions' and $position > 1">
30 <xsl:text >right
</xsl:text>
32 <xsl:when test=
"$classes='long-metrics' and $position > 2">
33 <xsl:text >right
</xsl:text>
36 <xsl:text >left
</xsl:text>
41 <xsl:template name=
"table.rowsep">
42 <xsl:text >0</xsl:text>
45 <xsl:template name=
"table.colsep" >
46 <xsl:text >0</xsl:text>
50 <xsl:template name=
"tabstyle">
51 <xsl:param name=
"classes"/>
53 <xsl:when test=
"$classes = 'problem-solving'">
54 <xsl:text >long
</xsl:text>
57 <xsl:text >default
</xsl:text>
62 <xsl:template match=
"table[@classes = 'overall-costs']/tgroup/tbody/row[last()]" priority=
"2"/>
63 <xsl:template match=
"table[@classes = 'hardware-costs']/tgroup/tbody/row[last()]" priority=
"2"/>
65 <xsl:template name=
"make-table-foot">
66 <xsl:param name=
"classes"/>
68 <xsl:when test=
"$classes = 'overall-costs' or $classes = 'hardware-costs'">
69 <xsl:apply-templates select=
"../tbody/row[last()]"
75 <xsl:template match=
"table[@classes = 'overall-costs']/tgroup/tbody/row[last()]|
76 table[@classes = 'hardware-costs']/tgroup/tbody/row[last()]"
80 <xsl:apply-templates/>
85 <xsl:template name=
"make-table-width">
86 <xsl:param name=
"classes"/>
88 <xsl:when test=
"$classes = 'overall-costs'">
89 <xsl:processing-instruction name=
"dbfo">
90 <xsl:text >table-width=
"50%"</xsl:text>
91 </xsl:processing-instruction>
96 <xsl:template name=
"table-keep-together">
97 <xsl:param name=
"classes"/>
99 <xsl:when test=
"$classes='long-metrics'">
100 <xsl:processing-instruction
102 <xsl:text >keep-together=
"auto" </xsl:text>
103 </xsl:processing-instruction>
109 <xsl:template name=
"page-break-before-section">
110 <xsl:param name=
"classes"/>
111 <xsl:param name=
"id"/>
112 <xsl:if test=
"@ids = 'tables-of-rates-of-productivity-pre-and-post-cutover'">
113 <xsl:processing-instruction name=
"hard-pagebreak"/>