forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject cvs commit: xml-forrest/src/documentation/library/xslt doclist2document.xsl
Date Sat, 25 May 2002 08:14:53 GMT
crossley    02/05/25 01:14:53

  Modified:    src/documentation/conf sitemap.xmap
               src/documentation/content/xdocs book.xml
               src/documentation/library/xslt doclist2document.xsl
  Log:
  Added ToC functionality to aggregate each book.xml into Table of Contents.
  
  Revision  Changes    Path
  1.3       +1 -0      xml-forrest/src/documentation/conf/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/conf/sitemap.xmap,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sitemap.xmap	25 May 2002 07:29:51 -0000	1.2
  +++ sitemap.xmap	25 May 2002 08:14:53 -0000	1.3
  @@ -210,6 +210,7 @@
      <map:match pattern="body-doclist.xml">
        <map:aggregate element="doclist">
          <map:part src="cocoon:/doclist/content/xdocs/book.xml"/>
  +       <map:part src="cocoon:/doclist/content/xdocs/community/howto/book.xml"/>
        </map:aggregate>
        <map:transform src="library/xslt/doclist2document.xsl"/>
        <map:call resource="skinit">
  
  
  
  1.10      +2 -1      xml-forrest/src/documentation/content/xdocs/book.xml
  
  Index: book.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/content/xdocs/book.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- book.xml	25 May 2002 07:29:51 -0000	1.9
  +++ book.xml	25 May 2002 08:14:53 -0000	1.10
  @@ -2,7 +2,7 @@
   <!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN" "book-cocoon-v10.dtd">
   
   <book software="Forrest"
  -      title="Forrest"
  +      title="Apache Forrest"
         copyright="@year@ The Apache Foundation"
         xmlns:xlink="http://www.w3.org/1999/xlink">
   
  @@ -12,6 +12,7 @@
       <menu-item label="Who we are" href="who.html"/>
       <menu-item label="Dream list" href="dreams.html"/>
       <menu-item label="FAQs" href="faq.html"/>
  +    <menu-item label="ToC" href="doclist.html"/>
     </menu>
   
     <menu label="References">
  
  
  
  1.2       +4 -4      xml-forrest/src/documentation/library/xslt/doclist2document.xsl
  
  Index: doclist2document.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/library/xslt/doclist2document.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- doclist2document.xsl	23 Mar 2002 16:10:42 -0000	1.1
  +++ doclist2document.xsl	25 May 2002 08:14:53 -0000	1.2
  @@ -10,7 +10,7 @@
       <title>List of all documentation</title>
      </header>
      <body>
  -    <s1 title="Documentation List">
  +    <section title="Documentation List">
        <p>
         This complete list shows, at a glance, how all of the documentation
         fits together within the hierarchy of sections.
  @@ -22,20 +22,20 @@
         that are relevant to that section. The side-panel will change, according
         to that section's location in the documentation hierarchy.
        </p>
  -    </s1>
  +    </section>
       <xsl:apply-templates/>
      </body>
     </document>
    </xsl:template>
   
    <xsl:template match="book">
  -  <s1 title="{@title}">
  +  <section title="{@title}">
      <xsl:if test="position()=1">
       <p>This first section is a list of the top-level documentation
        (and is a replica of this page's side-panel).</p>
      </xsl:if>
      <xsl:apply-templates/>
  -  </s1>
  +  </section>
    </xsl:template>
   
    <xsl:template match="menu">
  
  
  

Mime
View raw message