diff options
author | Sander Vesik <sander.vesik@sun.com> | 2002-09-16 19:39:57 +0000 |
---|---|---|
committer | Sander Vesik <sander@src.gnome.org> | 2002-09-16 19:39:57 +0000 |
commit | 0fb4cf5a555499f1b9172b9f3380d75a3bafd9ba (patch) | |
tree | 4590f3edac6683580cff6888445e1c7e65852b1a | |
parent | 2140e5496401cfc99dda1fa34145410039f4fa5f (diff) | |
download | yelp-0fb4cf5a555499f1b9172b9f3380d75a3bafd9ba.tar.gz |
- initial support for <appendix> chunks
2002-09-16 Sander Vesik <sander.vesik@sun.com>
* stylesheets/yelp-customization.xsl:
- initial support for <appendix> chunks
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | stylesheets/yelp-customization.xsl | 12 |
2 files changed, 17 insertions, 0 deletions
@@ -1,6 +1,11 @@ 2002-09-16 Sander Vesik <sander.vesik@sun.com> * stylesheets/yelp-customization.xsl: + - initial support for <appendix> + +2002-09-16 Sander Vesik <sander.vesik@sun.com> + + * stylesheets/yelp-customization.xsl: - unindent copyright - leave space inbetween the 'Copyright' header and copyright holders diff --git a/stylesheets/yelp-customization.xsl b/stylesheets/yelp-customization.xsl index 233beee7..30a3a993 100644 --- a/stylesheets/yelp-customization.xsl +++ b/stylesheets/yelp-customization.xsl @@ -491,11 +491,23 @@ <xsl:comment> End of chunk </xsl:comment> </xsl:for-each> +<xsl:for-each select="$root/part/appendix"> + <xsl:comment> Start of chunk: [<xsl:value-of select="@id"/>] </xsl:comment> + <xsl:call-template name="component.toc"/> + <xsl:comment> End of chunk </xsl:comment> +</xsl:for-each> + <xsl:for-each select="$root/chapter"> <xsl:comment> Start of chunk: [<xsl:value-of select="@id"/>] </xsl:comment> <xsl:call-template name="component.toc"/> <xsl:comment> End of chunk </xsl:comment> </xsl:for-each> + +<xsl:for-each select="$root/appendix"> + <xsl:comment> Start of chunk: [<xsl:value-of select="@id"/>] </xsl:comment> + <xsl:call-template name="component.toc"/> + <xsl:comment> End of chunk </xsl:comment> +</xsl:for-each> </xsl:template> <xsl:template name="yelp.multichunk"> |