cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ive...@apache.org
Subject cvs commit: xml-cocoon2/src/webapp/samples/stylesheets/xmlform xmlform2html.xsl
Date Wed, 23 Oct 2002 13:43:02 GMT
ivelin      2002/10/23 06:43:02

  Modified:    src/webapp/samples/stylesheets/xmlform xmlform2html.xsl
  Log:
  applied patch by parrott@fas.harvard.edu
  
  Revision  Changes    Path
  1.5       +5 -4      xml-cocoon2/src/webapp/samples/stylesheets/xmlform/xmlform2html.xsl
  
  Index: xmlform2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/stylesheets/xmlform/xmlform2html.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- xmlform2html.xsl	28 Sep 2002 19:43:06 -0000	1.4
  +++ xmlform2html.xsl	23 Oct 2002 13:43:02 -0000	1.5
  @@ -23,14 +23,14 @@
     author: Torsten Curdt, tcurdt@dff.st, March 2002
     author: Simon Price <price@bristol.ac.uk>, September 2002
     author: Konstantin Piroumian <kpiroumian@protek.com>, September 2002
  -
  +  author: Robert Ellis Parrott <parrott@fas.harvard.edu>, October 2002
   -->
   
   <xsl:stylesheet version="1.0" 
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
       xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002">
   
  -   <xsl:output method = "html" omit-xml-declaration = "yes"  /> 
  +   <xsl:output method = "xml" omit-xml-declaration = "no"  /> 
     
   
      <xsl:template match="/">
  @@ -68,10 +68,11 @@
   
   
      <xsl:template match="xf:textarea">
  -      <input name="{@ref}" type="textarea" value="{xf:value/text()}">
  +      <textarea name="{@ref}" >
           <xsl:copy-of select="@*[not(name()='ref')]"/>
  +        <xsl:value-of select="xf:value/text()"/>
           <xsl:apply-templates select="xf:hint"/>
  -      </input>
  +      </textarea>
      </xsl:template>
   
   
  
  
  

----------------------------------------------------------------------
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