dims 01/07/20 03:58:56
Modified: webapp/stylesheets/documents Tag: cocoon_20_branch
book2sidebar.xsl
Log:
Patches from John Morrison for adding faqs, changes, todo to the index
Revision Changes Path
No revision
No revision
1.1.2.2 +3 -3 xml-cocoon2/webapp/stylesheets/documents/book2sidebar.xsl
Index: book2sidebar.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon2/webapp/stylesheets/documents/book2sidebar.xsl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- book2sidebar.xsl 2001/07/10 15:56:26 1.1.2.1
+++ book2sidebar.xsl 2001/07/20 10:58:56 1.1.2.2
@@ -17,11 +17,11 @@
</link>
</xsl:template>
- <xsl:template match="/book/page">
+ <xsl:template match="/book/page | /book/faqs | /book/changes | /book/todo">
<link href="{substring(@source,1,string-length(@source)-4)}">
- <xsl:copy-of select="@id|@label"/>
+ <xsl:copy-of select="@label|@id"/>
</link>
- </xsl:template>
+ </xsl:template>
<xsl:template match="/book/separator">
<xsl:copy/>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]