cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/documentation/svg separator.xml
Date Thu, 04 Oct 2001 08:12:28 GMT
cziegeler    01/10/04 01:12:28

  Modified:    documentation sitemap.xmap
               documentation/stylesheets book2menu.xsl
  Added:       documentation/svg separator.xml
  Log:
  Added menu labels
  
  Revision  Changes    Path
  1.12      +9 -0      xml-cocoon2/documentation/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/documentation/sitemap.xmap,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- sitemap.xmap	2001/10/04 07:42:01	1.11
  +++ sitemap.xmap	2001/10/04 08:12:28	1.12
  @@ -132,6 +132,15 @@
       <map:read src="images/{2}.gif" mime-type="image/gif"/>
      </map:match>
   
  +   <map:match pattern="**graphics/**-separator.jpg">
  +     <map:generate src="svg/separator.xml"/>
  +     <map:transform src="svg/addlabel.xsl">
  +       <map:parameter name="use-request-parameters" value="true"/>
  +       <map:parameter name="label" value="{2}"/>
  +     </map:transform>
  +     <map:serialize type="svg2jpeg"/>
  +   </map:match>
  +
      <map:match pattern="**graphics/**-label.jpg">
        <map:generate src="svg/label.xml"/>
        <map:transform src="svg/addlabel.xsl">
  
  
  
  1.4       +24 -7     xml-cocoon2/documentation/stylesheets/book2menu.xsl
  
  Index: book2menu.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/documentation/stylesheets/book2menu.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- book2menu.xsl	2001/10/02 13:27:49	1.3
  +++ book2menu.xsl	2001/10/04 08:12:28	1.4
  @@ -19,7 +19,14 @@
     <xsl:template match="menu">
        <tr>
          <td align="left" valign="top">
  -         <img border="0" height="6" hspace="0" src="images/separator.gif" vspace="0"
width="120" alt="{@label}"/><br/>
  +         <img border="0" 
  +              height="20" 
  +              hspace="0" 
  +              src="graphics/{@label}-separator.jpg" 
  +              vspace="0" 
  +              width="120" 
  +              alt="{@label}"/>
  +         <br/>
          </td>
        </tr>
        <xsl:apply-templates/>
  @@ -30,9 +37,14 @@
        <tr>
   	<td align="left" valign="top">
           <a href="{@href}">
  -          <img alt="{@label}" border="0" height="12" hspace="0" name="{@label}" vspace="0"
width="120">
  -            <xsl:attribute name="src">graphics/<xsl:value-of select="@label"/>-label.jpg</xsl:attribute>
  -          </img>
  +          <img alt="{@label}" 
  +               src="graphics/{@label}-label.jpg" 
  +               border="0" 
  +               height="12" 
  +               width="120"
  +               name="{@label}" 
  +               hspace="0" 
  +               vspace="0"/>
           </a>
   	</td>
        </tr>
  @@ -44,9 +56,14 @@
        <tr>
   	<td align="left" valign="top">
           <a href="{@href}" target="new">
  -          <img alt="{@label}" border="0" height="12" hspace="0" name="{@label}" vspace="0"
width="120">
  -            <xsl:attribute name="src">graphics/<xsl:value-of select="@label"/>-label.jpg</xsl:attribute>
  -          </img>
  +          <img alt="{@label}" 
  +               src="graphics/{@label}-label.jpg" 
  +               border="0" 
  +               height="12" 
  +               hspace="0" 
  +               name="{@label}" 
  +               vspace="0" 
  +               width="120"/>
           </a>
   	</td>
        </tr>
  
  
  
  1.1                  xml-cocoon2/documentation/svg/separator.xml
  
  Index: separator.xml
  ===================================================================
  <?xml version="1.0"?>
  <svg xmlns:xlink="http://www.w3.org/1999/xlink" width="120" height="20">
    <image xlink:href="file:images/separator.gif" width="120" height="20"/>
    <text style="font-family:arial; font-size:9px" fill="black" text-anchor="start" x="5"
y="12"><label/></text>
  </svg>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message