diff options
author | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2007-08-30 18:19:10 +0000 |
---|---|---|
committer | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2007-08-30 18:19:10 +0000 |
commit | ab42f55d687e06d3c3f819fbf8e8746a1c17aeab (patch) | |
tree | a8d8729dc7ae2752b4e1859e9de1e69809dd57d7 /stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/lists.xsl | |
parent | b1ba0fa3a86632f4bc9063ef2cc22e44c9fde32d (diff) |
Updated stylesheets to match trunk
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8354 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/lists.xsl')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/lists.xsl | 62 |
1 files changed, 26 insertions, 36 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/lists.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/lists.xsl index fb2127c55..dcb72e352 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/lists.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/lists.xsl @@ -196,10 +196,7 @@ <xsl:template match="variablelist"> <xsl:variable name="pi-presentation"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'list-presentation'"/> - </xsl:call-template> + <xsl:call-template name="pi.dbhtml_list-presentation"/> </xsl:variable> <xsl:variable name="presentation"> @@ -217,24 +214,15 @@ </xsl:variable> <xsl:variable name="list-width"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'list-width'"/> - </xsl:call-template> + <xsl:call-template name="pi.dbhtml_list-width"/> </xsl:variable> <xsl:variable name="term-width"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'term-width'"/> - </xsl:call-template> + <xsl:call-template name="pi.dbhtml_term-width"/> </xsl:variable> <xsl:variable name="table-summary"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'table-summary'"/> - </xsl:call-template> + <xsl:call-template name="pi.dbhtml_table-summary"/> </xsl:variable> <div> @@ -334,16 +322,14 @@ <xsl:template match="varlistentry" mode="varlist-table"> <xsl:variable name="presentation"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="../processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'term-presentation'"/> + <xsl:call-template name="pi.dbhtml_term-presentation"> + <xsl:with-param name="node" select=".."/> </xsl:call-template> </xsl:variable> <xsl:variable name="separator"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="../processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'term-separator'"/> + <xsl:call-template name="pi.dbhtml_term-separator"> + <xsl:with-param name="node" select=".."/> </xsl:call-template> </xsl:variable> <tr> @@ -462,10 +448,10 @@ <xsl:variable name="localized-choice-separator"> <xsl:choose> <xsl:when test="processing-instruction('dbchoice')"> - <xsl:call-template name="select.choice.separator"/> + <xsl:call-template name="select.choice.separator"/> </xsl:when> <xsl:otherwise> - <!-- empty --> + <!-- empty --> </xsl:otherwise> </xsl:choose> </xsl:variable> @@ -743,10 +729,7 @@ <xsl:template match="segmentedlist"> <xsl:variable name="presentation"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'list-presentation'"/> - </xsl:call-template> + <xsl:call-template name="pi.dbhtml_list-presentation"/> </xsl:variable> <div> @@ -814,17 +797,11 @@ <xsl:template match="segmentedlist" mode="seglist-table"> <xsl:variable name="table-summary"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'table-summary'"/> - </xsl:call-template> + <xsl:call-template name="pi.dbhtml_table-summary"/> </xsl:variable> <xsl:variable name="list-width"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'list-width'"/> - </xsl:call-template> + <xsl:call-template name="pi.dbhtml_list-width"/> </xsl:variable> <xsl:apply-templates select="title"/> @@ -1052,4 +1029,17 @@ <!-- ==================================================================== --> +<xsl:template name="orderedlist-starting-number"> + <xsl:param name="list" select="."/> + <xsl:variable name="pi-start"> + <xsl:call-template name="pi.dbhtml_start"> + <xsl:with-param name="node" select="$list"/> + </xsl:call-template> + </xsl:variable> + <xsl:call-template name="output-orderedlist-starting-number"> + <xsl:with-param name="list" select="$list"/> + <xsl:with-param name="pi-start" select="$pi-start"/> + </xsl:call-template> +</xsl:template> + </xsl:stylesheet> |