nicolaken    02/03/27 02:09:31

  Added:       src/webapp/samples/hello-world/content/templates
                        hello-page.vm
               src/webapp/samples/hello-world/content/xml hello-page.xml
  Log:
  Someone forget to commit these too...
  Now the hello-world samples work.
  
  Revision  Changes    Path
  1.1                  
xml-cocoon2/src/webapp/samples/hello-world/content/templates/hello-page.vm
  
  Index: hello-page.vm
  ===================================================================
  <?xml version="1.0"?>
  #set($name = $parameters.getParameter("name", ""))
  #set($project = $parameters.getParameter("project", ""))
  <page>
   <title>Hello</title>
   <content>
    <para>This is my first Cocoon2 page!</para>
    <para>Hi!  This page is generated using $name from the $project project.</para>
   </content>
  </page>
  
  
  1.1                  
xml-cocoon2/src/webapp/samples/hello-world/content/xml/hello-page.xml
  
  Index: hello-page.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <!-- CVS: $Id: hello-page.xml,v 1.1 2002/03/27 10:09:31 nicolaken Exp $ -->
  
  <!DOCTYPE page [
   <!ELEMENT page (title?, content)>
   <!ELEMENT title (#PCDATA)>
   <!ELEMENT content (para+)>
   <!ELEMENT para (#PCDATA)>
  ]>
  
  <page>
   <title>Hello</title>
   <content>
    <para>This is my first Cocoon page!</para>
   </content>
  </page>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to