cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Flynn <pfl...@ucc.ie>
Subject Writing form data to an XML file
Date Fri, 05 Jan 2007 16:13:28 GMT
I'm passing the results of the form demo into some code in 
registration_success.jx
to write the form data to an XML file. Having got it working, I now need 
to find
out how to get rid of the text which appears in the browser after the 
success message:

success entire source overwritten write overwritten 
file:/usr/local/apache-tomcat-5.5.12/webapps/ROOT/myformtest/abc.xml xml

Obviously it's a trace from somewhere...but where? My 
registration_success.jx says:

<?xml version="1.0"?>
<html>
   <head>
     <title>Registration successful</title>
   </head>
   <body>
     <p>Registration was successful for ${username} on ${date}!</p>
     <source:write xmlns:source="http://apache.org/cocoon/source/1.0">
       <source:source>context://myformtest/${username}.xml</source:source>
       <source:fragment>
	<data>
	  <date yyyy-mm-dd="${date}"/>
	</data>
       </source:fragment>
     </source:write>
   </body>
</html>

///Peter

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


Mime
View raw message