jmartin     01/03/17 00:44:37

  Modified:    src/xsl  build.build.xsl build.cvs.xsl merge.xsl
                        nav-page.xsl right.xsl
  Log:
  Added styling for <link> and <mail> tags
  
  Revision  Changes    Path
  1.16      +3 -3      jakarta-alexandria/src/xsl/build.build.xsl
  
  Index: build.build.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/xsl/build.build.xsl,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- build.build.xsl   2001/03/17 08:38:00     1.15
  +++ build.build.xsl   2001/03/17 08:44:36     1.16
  @@ -79,12 +79,12 @@
             </classpath>
           </java>
     
  -        <style
  +        <xstyle
             in="logs/{module}.{@tag}.build.log.xml"
             style="{/workspace/build-sheet/@style}"
             out="${{content.dir}}/cvs/{module}/{@tag}/{module}/build.html" />
   
  -       <style
  +       <xstyle
            in="var/{module}.{@tag}.blame.xml"
            style="xsl/blame.kull.xsl"
            out="var/{module}.{@tag}.blame.trim.xml">
  @@ -95,7 +95,7 @@
            file="var/{module}.{@tag}.blame.trim.xml"
            tofile="var/{module}.{@tag}.blame.xml"/>
   
  -       <style
  +       <xstyle
            in="var/{module}.{@tag}.blame.xml"
            style="{/workspace/blame-sheet/@style}"
            out="${{content.dir}}/html/{module}.{@tag}.blame.html" />
  
  
  
  1.9       +1 -1      jakarta-alexandria/src/xsl/build.cvs.xsl
  
  Index: build.cvs.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/xsl/build.cvs.xsl,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- build.cvs.xsl     2001/03/10 10:07:53     1.8
  +++ build.cvs.xsl     2001/03/17 08:44:36     1.9
  @@ -77,7 +77,7 @@
               out="${{content.dir}}/cvs/{$module}/{@tag}/{$module}/ChangeLog.html">
               <param name="module" expression="'{$module}'"/>
               <param name="cvsweb" expression="'{$cvsweb-url}'"/>
  -          </xstyle>
  +          </style>
           </xsl:when>
   
           <xsl:otherwise>
  
  
  
  1.4       +2 -0      jakarta-alexandria/src/xsl/merge.xsl
  
  Index: merge.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/xsl/merge.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- merge.xsl 2001/02/22 09:32:40     1.3
  +++ merge.xsl 2001/03/17 08:44:36     1.4
  @@ -132,6 +132,8 @@
       <xsl:copy>
         <xsl:copy-of select="@*[name()!='srcdir']"/>
   
  +      <!--<xsl:copy-of select="mail|link"/>-->
  +
         <xsl:attribute name="show"><xsl:value-of select="$show"/></xsl:attribute>
         <xsl:if test="$defined-in">
           <xsl:attribute name="defined-in">
  
  
  
  1.3       +0 -2      jakarta-alexandria/src/xsl/nav-page.xsl
  
  Index: nav-page.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/xsl/nav-page.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- nav-page.xsl      2001/02/22 09:32:40     1.2
  +++ nav-page.xsl      2001/03/17 08:44:36     1.3
  @@ -3,8 +3,6 @@
     <xsl:template match="workspace">
       <project name="alexandria" default="menus" >
   
  -      <taskdef name="xstyle" 
classname="org.apache.tools.ant.xtaskdefs.XSLTProcess"/>
  -
         <!-- Menu generation target -->
         <target name="menus" description="Generate Alexandria menus">
   
  
  
  
  1.7       +22 -1     jakarta-alexandria/src/xsl/right.xsl
  
  Index: right.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-alexandria/src/xsl/right.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- right.xsl 2001/02/22 09:32:40     1.6
  +++ right.xsl 2001/03/17 08:44:36     1.7
  @@ -29,7 +29,6 @@
     </xsl:template>
       
     <xsl:template match="project">
  -
       <xsl:if test="@show='true'">
         <xsl:variable name="repository" 
select="/workspace/repository[@name=current()/@repository]"/>
   
  @@ -38,6 +37,7 @@
           <a href="{home-page}"><xsl:value-of select="title"/></a>:  <xsl:value-of 
select="description"/>
         </p>
         <xsl:if test="$repository[@type='cvs']">
  +        <h3>CVS</h3>
           <p>
             To obtain source: <br/><br/>
             cvs -d <xsl:value-of select="$repository/root"/> login  <br/>
  @@ -46,9 +46,30 @@
             cvs -d <xsl:value-of select="$repository/root"/> checkout <xsl:value-of 
select="module"/> <br/>
           </p>
         </xsl:if>
  +      <xsl:if test="mail">
  +        <h3>Mailing Lists</h3>
  +        <xsl:apply-templates select="mail"/>
  +      </xsl:if>
  +      <xsl:if test="link">
  +        <h3>Links</h3>
  +        <xsl:apply-templates select="link"/>
  +      </xsl:if>
         <hr/>
             
       </xsl:if>
  +  </xsl:template>
  +  <xsl:template match="link">
  +    <p> <a href="{@href}"><xsl:value-of select="@title"/></a> </p>
  +  </xsl:template>
  +  <xsl:template match="mail">
  +    <p>
  +      <xsl:value-of select="@title"/>
  +      <xsl:text> - </xsl:text>
  +      <xsl:value-of select="@address"/>
  +      <xsl:text> </xsl:text>
  +      <a href="mailto:{@subscribe}">(Subscribe)</a><xsl:text> </xsl:text>
  +      <a href="mailto:{@unsubscribe}">(Unsubscribe)</a>
  +    </p>
     </xsl:template>
   </xsl:stylesheet>
   
  
  
  

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

Reply via email to