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 Fri, 27 Sep 2002 02:52:45 GMT
ivelin      2002/09/26 19:52:45

  Modified:    src/webapp/samples/stylesheets/xmlform xmlform2html.xsl
  Log:
  added xf:textarea
  
  Revision  Changes    Path
  1.3       +7 -0      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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- xmlform2html.xsl	23 Sep 2002 03:58:30 -0000	1.2
  +++ xmlform2html.xsl	27 Sep 2002 02:52:45 -0000	1.3
  @@ -64,6 +64,13 @@
      </xsl:template>
   
   
  +   <xsl:template match="xf:textarea">
  +      <input name="{@ref}" type="textarea" value="{xf:value/text()}">
  +        <xsl:copy-of select="@*[not(name()='ref')]"/>
  +      </input>
  +   </xsl:template>
  +
  +
      <xsl:template match="xf:password">
         <input name="{@ref}" type="password" value="{xf:value/text()}">
           <xsl:copy-of select="@*[not(name()='ref')]"/>
  
  
  

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