cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-cocoon2/src/webapp/samples/hello-world/content/xml hello-page.xml
Date Wed, 27 Mar 2002 10:09:31 GMT
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:     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