funing wrote:
Hi! all:
I am a newbie on cocoon and xsp. I want to know if it is possible
to write data to the XML file which the data is read from. That means,
I can get some data from a xml file, and transform it to a html and
present it to a user. The user may change the data. How can I
If you're using Xalan, there is an XSLT extension that will let you do
this. You could embed the code to save changes in the same XSL file you
use for presentation, depending on a request parameter.
map:generate src=docs/yourXMLfile.xml/
map:transform src=stylesheets/xalanStylesheet.xsl