cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/scratchpad/schecoon/webapp/examples/calc displayResult.xsp
Date Tue, 16 Apr 2002 00:36:48 GMT
ovidiu      02/04/15 17:36:48

  Modified:    src/scratchpad/schecoon/webapp/examples/calc
                        displayResult.xsp
  Log:
  Use the document DTD instead of plain HTML.
  
  Revision  Changes    Path
  1.4       +21 -9     xml-cocoon2/src/scratchpad/schecoon/webapp/examples/calc/displayResult.xsp
  
  Index: displayResult.xsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/webapp/examples/calc/displayResult.xsp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- displayResult.xsp	30 Mar 2002 05:40:21 -0000	1.3
  +++ displayResult.xsp	16 Apr 2002 00:36:48 -0000	1.4
  @@ -12,18 +12,30 @@
     xmlns:jpath="http://apache.org/xsp/jpath/1.0"
     >
     
  -  <html>
  +  <document>
   
  -    <form action="../../calc/">
  +    <header>
  +      <title>Calculator example</title>
  +      <authors>
  +        <person name="Ovidiu Predescu" email="ovidiu@apache.org"/>
  +      </authors>
  +    </header>
   
  -      <p><b>a</b> = <jpath:value-of select="a"/></p>
  -      <p><b>b</b> = <jpath:value-of select="b"/></p>
  -      <p>Operator = <b><jpath:value-of select="operator"/></b></p>
  -      <p>Result = <b><jpath:value-of select="result"/></b></p>
  -      <input type="submit" name="submit" value="Start over"/>
  +    <body>
  +      <s1 title="Calculator">
   
  -    </form>
  +        <form action="../../calc/">
   
  -  </html>
  +          <p>a = <strong><jpath:value-of select="a"/></strong></p>
  +          <p>b = <strong><jpath:value-of select="b"/></strong></p>
  +          <p>Operator = <strong><jpath:value-of select="operator"/></strong></p>
  +          <p>Result = <strong><jpath:value-of select="result"/></strong></p>
  +          <input type="submit" name="submit" value="Start over"/>
  +
  +        </form>
  +       </s1>
  +    </body>
  +
  +  </document>
   
   </xsp: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