I've updated book2sidebar.xsl to add FAQ/changes & todo.

> -----Original Message-----
> From: Morrison, John [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 20 July 2001 11:43 am
> To: '[EMAIL PROTECTED]'
> Subject: [C2][PATCH]
> 
> 
> Attached is a diff to enable the translation of todo, changes 
> and faq into
> the document xml format.  These can then be viewed from the war.
> 
> I've not added _any_ of these to the index.  Should they?  Also, the
> formatting is still rudimentary.
> 
> J.
> 
> 
> 
> ==============================================================
> =========
> Information in this email and any attachments are 
> confidential, and may
> not be copied or used by anyone other than the addressee, nor 
> disclosed
> to any third party without our permission.  There is no intention to
> create any legally binding contract or other commitment 
> through the use
> of this email.
> 
> Experian Limited (registration number 653331).  
> Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
> 

book2sidebar.xsl

Index: book2sidebar.xsl
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/webapp/stylesheets/documents/book2sidebar.xsl,v
retrieving revision 1.2
diff -u -r1.2 book2sidebar.xsl
--- book2sidebar.xsl    2001/07/10 16:00:58     1.2
+++ book2sidebar.xsl    2001/07/20 10:54:08
@@ -17,9 +17,9 @@
     </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>
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to