jon         00/11/25 12:41:50

  Modified:    examples/anakia/xdocs index.xml
               examples/anakia/xdocs/about index.xml
               examples/anakia/xdocs/stylesheets project.xml site.vsl
  Log:
  updated to take advantage of latest relativePath changes
  
  Revision  Changes    Path
  1.5       +3 -4      jakarta-velocity/examples/anakia/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/examples/anakia/xdocs/index.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- index.xml 2000/11/22 23:36:07     1.4
  +++ index.xml 2000/11/25 20:41:48     1.5
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="UTF-8"?>
   
  -<document prefix="." url="./index.xml">
  +<document>
   
     <properties>
       <author email="[EMAIL PROTECTED]">Jon S. Stevens</author>
  @@ -15,7 +15,7 @@
   This is an example template that gets processed.
   </p>
   
  -<img src="images/velocity.gif" width="329" height="105"/>
  +<img src="/images/velocity.gif" width="329" height="105"/>
   
   <table border="1">
   <tr>
  @@ -43,5 +43,4 @@
       </section>
   
   </body>
  -</document>
  -
  +</document>
  \ No newline at end of file
  
  
  
  1.3       +2 -2      jakarta-velocity/examples/anakia/xdocs/about/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/examples/anakia/xdocs/about/index.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.xml 2000/11/22 23:36:30     1.2
  +++ index.xml 2000/11/25 20:41:49     1.3
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="UTF-8"?>
   
  -<document prefix="." url="./index.xml">
  +<document>
   
     <properties>
       <author email="[EMAIL PROTECTED]">Jon S. Stevens</author>
  @@ -15,7 +15,7 @@
   This is the "about" section of your website
   </p>
   
  -<img src="images/velocity.gif" width="329" height="105" align="right"/>
  +<img src="/images/velocity.gif" width="329" height="105"/>
   
   <table border="1">
   <tr>
  
  
  
  1.3       +2 -2      jakarta-velocity/examples/anakia/xdocs/stylesheets/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/examples/anakia/xdocs/stylesheets/project.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.xml       2000/11/22 22:24:32     1.2
  +++ project.xml       2000/11/25 20:41:49     1.3
  @@ -6,11 +6,11 @@
   
       <body>
           <menu name="Home">
  -            <item name="Front Page"            href="index.html"/>
  +            <item name="Front Page"            href="/index.html"/>
           </menu>
       
           <menu name="About">
  -            <item name="About"                 href="about/index.html"/>
  +            <item name="About"                 href="/about/index.html"/>
           </menu>
       </body>
   </project>
  
  
  
  1.6       +3 -3      jakarta-velocity/examples/anakia/xdocs/stylesheets/site.vsl
  
  Index: site.vsl
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/examples/anakia/xdocs/stylesheets/site.vsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- site.vsl  2000/11/24 01:25:51     1.5
  +++ site.vsl  2000/11/25 20:41:49     1.6
  @@ -50,9 +50,9 @@
                   #makeProject()
                   </td>
                   <td>
  -                #set $sections = $root.getChild("body").getChildren("section")
  -                #foreach ( $sec in $sections )
  -                    #foreach ( $item in $sec.getChildren() )                
  +                #set $allSections = $root.getChild("body").getChildren("section")
  +                #foreach ( $section in $allSections )
  +                    #foreach ( $item in $section.getChildren() )                
                           #if ($item.getName().equals("img"))
                               #image ($item)
                           #else
  
  
  

Reply via email to