You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@locus.apache.org on 2000/09/22 22:07:52 UTC

cvs commit: xml-cocoon/webapp/stylesheets/slides slides-apachecon.xsl slides-navigation.xsl

stefano     00/09/22 13:07:50

  Modified:    webapp   Tag: xml-cocoon2 sitemap.xmap
               webapp/docs/samples Tag: xml-cocoon2 samples.xml
               webapp/stylesheets Tag: xml-cocoon2 simple-samples2html.xsl
  Added:       webapp/stylesheets/slides Tag: xml-cocoon2
                        slides-apachecon.xsl slides-navigation.xsl
  Removed:     webapp/stylesheets Tag: xml-cocoon2 slides-apachecon.xsl
                        slides-navigation.xsl
  Log:
  cleanups
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.14  +7 -10     xml-cocoon/webapp/Attic/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/webapp/Attic/sitemap.xmap,v
  retrieving revision 1.1.2.13
  retrieving revision 1.1.2.14
  diff -u -r1.1.2.13 -r1.1.2.14
  --- sitemap.xmap	2000/09/08 19:37:23	1.1.2.13
  +++ sitemap.xmap	2000/09/22 20:07:37	1.1.2.14
  @@ -96,8 +96,8 @@
    <map:resources>
     <map:resource name="slides">
      <map:generate src="docs/samples/slides/slides.xml"/>
  -   <map:transform src="stylesheets/slides-navigation.xsl"/>
  -   <map:transform src="stylesheets/slides-apachecon.xsl"/>
  +   <map:transform src="stylesheets/slides/slides-navigation.xsl"/>
  +   <map:transform src="stylesheets/slides/slides-apachecon.xsl"/>
      <map:serialize/>
     </map:resource>
    </map:resources>
  @@ -186,6 +186,7 @@
      <map:match pattern="slides/view-source/*">
       <map:read src="docs/samples/slides/{1}" mime-type="text/plain"/>
      </map:match>
  +   
      <map:match pattern="slides/view-source">
       <map:generate type="serverpages" src="docs/samples/slides/view-source.xsp"/>
       <map:serialize/>
  @@ -241,20 +242,16 @@
       <map:read src="resources/styles/{1}.css" mime-type="text/css"/>
      </map:match>
   
  -   <map:match pattern="images/*.gif">
  -    <map:read src="resources/images/{1}.gif" mime-type="image/gif"/>
  +   <map:match pattern="images/**/*.gif">
  +    <map:read src="resources/images/{1}/{2}.gif" mime-type="image/gif"/>
      </map:match>
   
  -   <map:match pattern="images/*.jpg">
  -    <map:read src="resources/images/{1}.jpg" mime-type="image/jpg"/>
  +   <map:match pattern="images/**/*.jpg">
  +    <map:read src="resources/images/{1}/{2}.jpg" mime-type="image/jpg"/>
      </map:match>
   
      <map:match pattern="images/**/*.png">
       <map:read src="resources/images/{1}/{2}.png" mime-type="image/png"/>
  -   </map:match>
  -
  -   <map:match pattern="images/*.png">
  -    <map:read src="resources/images/{1}.png" mime-type="image/png"/>
      </map:match>
   
      <map:match pattern="*">
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.4   +16 -16    xml-cocoon/webapp/docs/samples/Attic/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/webapp/docs/samples/Attic/samples.xml,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- samples.xml	2000/08/29 20:11:23	1.1.2.3
  +++ samples.xml	2000/09/22 20:07:41	1.1.2.4
  @@ -1,57 +1,57 @@
   <?xml version="1.0"?>
   
  -<samples>
  +<samples xmlns:xlink="http://www.w3.org/1999/xlink">
   
     <group name="Multimedia Hello World">
  -   <sample name="HTML" url="hello.html">
  +   <sample name="HTML" xlink:href="hello.html" xlink:type="simple">
       This is a very simple demostration of how to use Cocoon. A simple XML page
       is transformed into an HTML page.
      </sample>
  -   <sample name="WML" url="hello.wml">
  +   <sample name="WML" xlink:href="hello.wml" xlink:type="simple">
       Now something more juicy: the exact same page is translated into WAP WML.
      </sample>
  -   <sample name="VoxML" url="hello.vml">
  +   <sample name="VoxML" xlink:href="hello.vml" xlink:type="simple">
       Maybe you have your hands busy? with VoxML you don't need hands, just your voice.
      </sample>
  -   <sample name="SVG" url="hello.svg">
  +   <sample name="SVG" xlink:href="hello.svg" xlink:type="simple">
       Need a fancier look? No problem, SVG is your friend.
      </sample>
  -   <sample name="VRML" url="hello.wrl">
  +   <sample name="VRML" xlink:href="hello.wrl" xlink:type="simple">
       Need more space? Well, not really useful in this case, but VRML may come handy.
      </sample>
  -   <sample name="PDF" url="hello.pdf">
  +   <sample name="PDF" xlink:href="hello.pdf" xlink:type="simple">
       Printed HTML sucks? Don't worry, your friend Cocoon gives you a nice PDF.
      </sample>
     </group>
   
     <group name="XML-ized web sites">
  -   <sample name="java.apache.org" url="sites/java.apache.org">
  +   <sample name="java.apache.org" xlink:href="sites/java.apache.org">
       This page shows a much more complex example that shows how powerful
       is the style separation and how powerful XML+XSLT can be even for
       web publishing.
      </sample>
  -   <sample name="jakarta.apache.org" url="sites/jakarta.apache.org">
  +   <sample name="jakarta.apache.org" xlink:href="sites/jakarta.apache.org">
       This pages shows the XML-ized version of the Apache Jakarta web site.
      </sample>
     </group>
     
     <group name="Static Content">
  -   <sample name="formatting objects" url="fo">
  +   <sample name="formatting objects" xlink:href="fo">
       This is an example of FO translated to PDF by Apache FOP.
      </sample>
  -   <sample name="scalable vector graphics" url="svg">
  +   <sample name="scalable vector graphics" xlink:href="svg">
       An example of a SVG file rendered to a PNG image.
      </sample>
  -   <sample name="slides" url="slides/slides">
  +   <sample name="slides" xlink:href="slides/slides">
       Example of complex XSLT usage.
      </sample>
     </group>
   
     <group name="Dynamic Content">
  -   <sample name="Simple XSP" url="xsp/simple">
  +   <sample name="Simple XSP" xlink:href="xsp/simple">
       Simple XSP example.
      </sample>
  -   <sample name="Simple SQL" url="sql/sql-page">
  +   <sample name="Simple SQL" xlink:href="sql/sql-page">
       Simple SQL example. You should make sure that you have a database and 
       table according to the conf/sitemap.xmap and the documens/sql/sql-page.sql 
       definitions.
  @@ -59,10 +59,10 @@
     </group>
   
     <group name="System Pages">
  -   <sample name="Status Page" url="status">
  +   <sample name="Status Page" xlink:href="status">
       Cocoon status page.
      </sample>
  -   <sample name="Error Page" url="generror">
  +   <sample name="Error Page" xlink:href="generror">
       This example shows what happens if an error is triggered in the pipeline.
      </sample>
     </group>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.6   +2 -2      xml-cocoon/webapp/stylesheets/Attic/simple-samples2html.xsl
  
  Index: simple-samples2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/webapp/stylesheets/Attic/simple-samples2html.xsl,v
  retrieving revision 1.1.2.5
  retrieving revision 1.1.2.6
  diff -u -r1.1.2.5 -r1.1.2.6
  --- simple-samples2html.xsl	2000/09/15 16:10:52	1.1.2.5
  +++ simple-samples2html.xsl	2000/09/22 20:07:44	1.1.2.6
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
   
  -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink">
   
    <xsl:template match="/">
     <html>
  @@ -90,7 +90,7 @@
     <tr>
      <td width="100%" bgcolor="#ffffff" align="left">
       <font size="+0" face="arial,helvetica,sanserif" color="#000000">    
  -      <a href="{@url}"><xsl:value-of select="@name"/></a><xsl:text> - </xsl:text>
  +      <a href="{@href}"><xsl:value-of select="@name"/></a><xsl:text> - </xsl:text>
         <xsl:value-of select="."/>
       </font>
      </td>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +138 -0    xml-cocoon/webapp/stylesheets/slides/Attic/slides-apachecon.xsl
  
  
  
  
  1.1.2.1   +134 -0    xml-cocoon/webapp/stylesheets/slides/Attic/slides-navigation.xsl