You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by st...@apache.org on 2002/05/17 00:32:41 UTC

cvs commit: xml-forrest/src/documentation/skins/forrest-site/xslt/html document2html.xsl site2xhtml.xsl

stevenn     02/05/16 15:32:41

  Modified:    src/documentation/skins/forrest-site/xslt/html
                        document2html.xsl site2xhtml.xsl
  Added:       src/documentation/skins/forrest-site/xslt/fo blankfile
  Log:
  prepared empty dir for FO contribution of ovidiu@orion.rgv.hp.com
  
  Revision  Changes    Path
  1.1                  xml-forrest/src/documentation/skins/forrest-site/xslt/fo/blankfile
  
  	<<Binary file>>
  
  
  1.7       +11 -1     xml-forrest/src/documentation/skins/forrest-site/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/skins/forrest-site/xslt/html/document2html.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- document2html.xsl	12 May 2002 22:41:51 -0000	1.6
  +++ document2html.xsl	16 May 2002 22:32:41 -0000	1.7
  @@ -5,6 +5,7 @@
   
     <xsl:template match="document">
       <td colspan="2" valign="top" class="content">
  +      <!-- got rid of printable page link for the time being
         <table>
           <tr>
             <td valign="middle">
  @@ -14,7 +15,7 @@
                     <xsl:value-of select="header/title"/>
                   </h2>
                 </xsl:when>
  -              <xsl:otherwise> </xsl:otherwise>
  +              <xsl:otherwise>&#160;</xsl:otherwise>
               </xsl:choose>
             </td>
             <td align="center" width="80" nowrap="nowrap">
  @@ -24,6 +25,15 @@
             </td>
           </tr>
         </table>
  +      -->
  +      <xsl:choose>
  +        <xsl:when test="normalize-space(header/title)!=''">
  +          <h2>
  +            <xsl:value-of select="header/title"/>
  +          </h2>
  +        </xsl:when>
  +        <xsl:otherwise>&#160;</xsl:otherwise>
  +      </xsl:choose>
         <xsl:if test="header/authors">
           <font size="-2">
             <p>
  
  
  
  1.3       +10 -5     xml-forrest/src/documentation/skins/forrest-site/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/skins/forrest-site/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- site2xhtml.xsl	10 Apr 2002 08:55:08 -0000	1.2
  +++ site2xhtml.xsl	16 May 2002 22:32:41 -0000	1.3
  @@ -14,7 +14,7 @@
         <body>
   
           <div class="path">
  -          <a href="#">path not implemented yet</a>
  +          <a href="http://xml.apache.org/">xml.apache.org</a> :: <a href="http://xml.apache.org/forrest/">forrest</a>
           </div>
   
           <table class="top" cellspacing="0" cellpadding="0" summary="top bar">
  @@ -30,7 +30,7 @@
                   <form method="get" action="http://www.google.com/search" onsubmit="q.value = query.value + ' site:xml.apache.org'">
                     <input type="hidden" name="q"/>
                     <input type="text" id="query" size="15"/>&#160;<input type="button" value="Search" name="Search"/><br/>
  -                  <input type="radio" name="web" value="web">web site&#160;</input>&#160;<input type="radio" name="mail" value="mail">mail lists</input>
  +                  <!-- <input type="radio" name="web" value="web">web site&#160;</input>&#160;<input type="radio" name="mail" value="mail">mail lists</input> -->
                   </form>
                 </div>
               </td>
  @@ -39,8 +39,9 @@
   
           <div class="tabs">
             <span class="tab">
  -            <a href="#">tabs</a>
  +            <a href="http://xml.apache.org/forrest/">Home</a>
             </span>
  +          <!--
             <span class="tab">
               <a href="#">not</a>
             </span>
  @@ -50,8 +51,10 @@
             <span class="tab">
               <a href="#">yet</a>
             </span>
  +          -->
           </div>
   
  +
           <div class="topline">&#160;</div>
   
           <table cellspacing="0" cellpadding="0" summary="content pane">
  @@ -60,9 +63,11 @@
               <td rowspan="2" valign="top" nowrap="nowrap">
                 <xsl:apply-templates select="div[@class='menu']"/>
               </td>
  -            <td valign="top" class="navbar" align="left">no chunking yet</td>
  +            <!-- <td valign="top" class="navbar" align="left">no chunking yet</td> -->
  +            <td valign="top" class="navbar" align="left">&#160;</td>
               <td width="*" valign="top" class="navbar" align="right">
  -              <a href="#">&lt;&lt; prev</a> <strong>[x]</strong> <a href="#">next &gt;&gt;</a>
  +              <!-- <a href="#">&lt;&lt; prev</a> <strong>[x]</strong> <a href="#">next &gt;&gt;</a> -->
  +              &#160;
               </td>
             </tr>
             <tr>
  
  
  

RE: cvs commit: xml-forrest/src/documentation/skins/forrest-site/xslt/html document2html.xsl site2xhtml.xsl

Posted by Steven Noels <st...@outerthought.org>.
Uh-oh...

As you see, I got rid of some non-functioning stuff in the xml2html
stylesheets (printable pages, tabs et al.) just so that we are ready to
publish our own website whenever we want.

I'm still planning to resurrect yahoo-paths and tabs in a more solid
way, however.

</Steven>

> -----Original Message-----
> From: stevenn@apache.org [mailto:stevenn@apache.org]
> Sent: vrijdag 17 mei 2002 0:33
> To: xml-forrest-cvs@apache.org
> Subject: cvs commit:
> xml-forrest/src/documentation/skins/forrest-site/xslt/html
> document2html.xsl site2xhtml.xsl
>
>
> stevenn     02/05/16 15:32:41
>
>   Modified:    src/documentation/skins/forrest-site/xslt/html
>                         document2html.xsl site2xhtml.xsl
>   Added:       src/documentation/skins/forrest-site/xslt/fo blankfile
>   Log:
>   prepared empty dir for FO contribution of ovidiu@orion.rgv.hp.com
>
>   Revision  Changes    Path
>   1.1
> xml-forrest/src/documentation/skins/forrest-site/xslt/fo/blankfile
>
>   	<<Binary file>>
>
>
>   1.7       +11 -1
> xml-forrest/src/documentation/skins/forrest-site/xslt/html/doc
> ument2html.xsl
>
>   Index: document2html.xsl
>   ===================================================================
>   RCS file:
> /home/cvs/xml-forrest/src/documentation/skins/forrest-site/xsl
> t/html/document2html.xsl,v
>   retrieving revision 1.6
>   retrieving revision 1.7
>   diff -u -r1.6 -r1.7
>   --- document2html.xsl	12 May 2002 22:41:51 -0000	1.6
>   +++ document2html.xsl	16 May 2002 22:32:41 -0000	1.7
>   @@ -5,6 +5,7 @@
>
>      <xsl:template match="document">
>        <td colspan="2" valign="top" class="content">
>   +      <!-- got rid of printable page link for the time being
>          <table>
>            <tr>
>              <td valign="middle">
>   @@ -14,7 +15,7 @@
>                      <xsl:value-of select="header/title"/>
>                    </h2>
>                  </xsl:when>
>   -              <xsl:otherwise> </xsl:otherwise>
>   +              <xsl:otherwise>&#160;</xsl:otherwise>
>                </xsl:choose>
>              </td>
>              <td align="center" width="80" nowrap="nowrap">
>   @@ -24,6 +25,15 @@
>              </td>
>            </tr>
>          </table>
>   +      -->
>   +      <xsl:choose>
>   +        <xsl:when test="normalize-space(header/title)!=''">
>   +          <h2>
>   +            <xsl:value-of select="header/title"/>
>   +          </h2>
>   +        </xsl:when>
>   +        <xsl:otherwise>&#160;</xsl:otherwise>
>   +      </xsl:choose>
>          <xsl:if test="header/authors">
>            <font size="-2">
>              <p>
>
>
>
>   1.3       +10 -5
> xml-forrest/src/documentation/skins/forrest-site/xslt/html/sit
> e2xhtml.xsl
>
>   Index: site2xhtml.xsl
>   ===================================================================
>   RCS file:
> /home/cvs/xml-forrest/src/documentation/skins/forrest-site/xsl
> t/html/site2xhtml.xsl,v
>   retrieving revision 1.2
>   retrieving revision 1.3
>   diff -u -r1.2 -r1.3
>   --- site2xhtml.xsl	10 Apr 2002 08:55:08 -0000	1.2
>   +++ site2xhtml.xsl	16 May 2002 22:32:41 -0000	1.3
>   @@ -14,7 +14,7 @@
>          <body>
>
>            <div class="path">
>   -          <a href="#">path not implemented yet</a>
>   +          <a
> href="http://xml.apache.org/">xml.apache.org</a> :: <a
> href="http://xml.apache.org/forrest/">forrest</a>
>            </div>
>
>            <table class="top" cellspacing="0" cellpadding="0"
> summary="top bar">
>   @@ -30,7 +30,7 @@
>                    <form method="get"
> action="http://www.google.com/search" onsubmit="q.value =
> query.value + ' site:xml.apache.org'">
>                      <input type="hidden" name="q"/>
>                      <input type="text" id="query"
> size="15"/>&#160;<input type="button" value="Search"
> name="Search"/><br/>
>   -                  <input type="radio" name="web"
> value="web">web site&#160;</input>&#160;<input type="radio"
> name="mail" value="mail">mail lists</input>
>   +                  <!-- <input type="radio" name="web"
> value="web">web site&#160;</input>&#160;<input type="radio"
> name="mail" value="mail">mail lists</input> -->
>                    </form>
>                  </div>
>                </td>
>   @@ -39,8 +39,9 @@
>
>            <div class="tabs">
>              <span class="tab">
>   -            <a href="#">tabs</a>
>   +            <a href="http://xml.apache.org/forrest/">Home</a>
>              </span>
>   +          <!--
>              <span class="tab">
>                <a href="#">not</a>
>              </span>
>   @@ -50,8 +51,10 @@
>              <span class="tab">
>                <a href="#">yet</a>
>              </span>
>   +          -->
>            </div>
>
>   +
>            <div class="topline">&#160;</div>
>
>            <table cellspacing="0" cellpadding="0"
> summary="content pane">
>   @@ -60,9 +63,11 @@
>                <td rowspan="2" valign="top" nowrap="nowrap">
>                  <xsl:apply-templates select="div[@class='menu']"/>
>                </td>
>   -            <td valign="top" class="navbar"
> align="left">no chunking yet</td>
>   +            <!-- <td valign="top" class="navbar"
> align="left">no chunking yet</td> -->
>   +            <td valign="top" class="navbar"
> align="left">&#160;</td>
>                <td width="*" valign="top" class="navbar"
> align="right">
>   -              <a href="#">&lt;&lt; prev</a>
> <strong>[x]</strong> <a href="#">next &gt;&gt;</a>
>   +              <!-- <a href="#">&lt;&lt; prev</a>
> <strong>[x]</strong> <a href="#">next &gt;&gt;</a> -->
>   +              &#160;
>                </td>
>              </tr>
>              <tr>
>
>
>