cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject Re: cvs commit: xml-cocoon2/src/webapp/samples/stylesheets/xmlform xmlform2html.xsl
Date Thu, 24 Oct 2002 01:00:27 GMT
Ivelin, please update Bugzilla when you apply a patch.
I just wasted time trying to do it as well.

Also, it is not standard practice to add the "author" tag
for every person who supplies a patch. We would end up with
files which have more lines with "author" tags than with code.

I think that the intention is to only list the names of the
people who are responsible for creating the code, so that
people can get in touch with the main authors.
--David

ivelin@apache.org wrote:
> 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>




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message