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/resources/library/xslt doclist2document.xsl faq2document.xsl howto2document.xsl
Date Fri, 07 Jun 2002 05:35:24 GMT
crossley    2002/06/06 22:35:24

  Modified:    src/resources/library/xslt doclist2document.xsl
                        faq2document.xsl howto2document.xsl
  Log:
  Use the new title element instead of title attribute.
  
  Revision  Changes    Path
  1.2       +6 -2      xml-forrest/src/resources/library/xslt/doclist2document.xsl
  
  Index: doclist2document.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/library/xslt/doclist2document.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- doclist2document.xsl	29 May 2002 16:44:55 -0000	1.1
  +++ doclist2document.xsl	7 Jun 2002 05:35:23 -0000	1.2
  @@ -10,7 +10,8 @@
       <title>List of all documentation</title>
      </header>
      <body>
  -    <section title="Documentation List">
  +    <section>
  +     <title>Documentation List</title>
        <p>
         This complete list shows, at a glance, how all of the documentation
         fits together within the hierarchy of sections.
  @@ -29,7 +30,10 @@
    </xsl:template>
   
    <xsl:template match="book">
  -  <section title="{@title}">
  +  <section>
  +   <title>
  +    <xsl:value-of select="@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>
  
  
  
  1.3       +8 -3      xml-forrest/src/resources/library/xslt/faq2document.xsl
  
  Index: faq2document.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/library/xslt/faq2document.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- faq2document.xsl	3 Jun 2002 04:54:11 -0000	1.2
  +++ faq2document.xsl	7 Jun 2002 05:35:23 -0000	1.3
  @@ -12,12 +12,14 @@
        <title><xsl:value-of select="@title"/></title>
       </header>
       <body>
  -      <section title="Questions">
  +      <section>
  +       <title>Questions</title>
          <ul>
           <xsl:apply-templates select="faq" mode="index"/>
          </ul>
         </section>
  -      <section title="Answers">
  +      <section>
  +       <title>Answers</title>
           <xsl:apply-templates select="faq"/>
         </section>
       </body>
  @@ -34,7 +36,10 @@
   
     <xsl:template match="faq">
       <anchor id="faq-{position()}"/>
  -    <section title="{question}">
  +    <section>
  +     <title>
  +      <xsl:value-of select="question"/>
  +     </title>
         <xsl:apply-templates/>
       </section>
     </xsl:template>
  
  
  
  1.2       +10 -5     xml-forrest/src/resources/library/xslt/howto2document.xsl
  
  Index: howto2document.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/library/xslt/howto2document.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- howto2document.xsl	29 May 2002 16:44:55 -0000	1.1
  +++ howto2document.xsl	7 Jun 2002 05:35:23 -0000	1.2
  @@ -25,7 +25,8 @@
     </xsl:template>
     
     <xsl:template match="howto/header/abstract">
  -    <section title="Overview" >
  +    <section>
  +     <title>Overview</title>
         <xsl:apply-templates/>
       </section>
     </xsl:template>
  @@ -34,10 +35,10 @@
       <section>
         <xsl:choose>
           <xsl:when test="normalize-space(@title)!=''">
  -          <xsl:attribute name="title"><xsl:value-of select="@title"/></xsl:attribute>
  +          <title><xsl:value-of select="@title"/></title>
           </xsl:when>
           <xsl:otherwise>
  -          <xsl:attribute name="title"><xsl:value-of select="name()"/></xsl:attribute>
  +          <title><xsl:value-of select="name()"/></title>
           </xsl:otherwise>
         </xsl:choose>
        <xsl:apply-templates/>
  @@ -45,7 +46,10 @@
     </xsl:template>
     
     <xsl:template match="faq">
  -    <section title="{question}" >
  +    <section>
  +     <title>
  +      <xsl:value-of select="question"/>
  +     </title>
         <xsl:apply-templates select="answer" />
       </section>
     </xsl:template>
  @@ -58,7 +62,8 @@
       </xsl:template>
     
     <xsl:template match="revisions">
  -    <section title="Revisions" >
  +    <section>
  +     <title>Revisions</title>
       <p>Find a problem with this document? Consider contacting the author or submitting
your own revision. For instructions, read the How To Submit a Revision.</p>
         <ul>
          <xsl:apply-templates select="revision"/>
  
  
  

Mime
View raw message