Hi Kaj, I'm not 100% sure, but I don't think you can do a redirect before the the sax stream is serialized. So I guess you need to do the serialization first before you can do the redirect.
Regards, Jeroen Reijn Hippo -----Original Message----- From: Kaj Kandler [mailto:[EMAIL PROTECTED] Posted At: Tuesday, October 24, 2006 5:09 PM Posted To: Cocoon User List Conversation: SourceWriteTransformer help needed Subject: SourceWriteTransformer help needed -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I use Cocoon 2.1.9 and I'm having a problem with writing the source file (adapted from the portal-fw block) Here is my sitemap.xmap fragment <map:match pattern="do-register"> <map:generate src="newuser.xml"/> <map:transform src="stylesheets/generate-activate.xsl"/> <map:transform type="session"/> <map:transform type="cinclude"/> <map:transform type="write-source"/> <map:redirect-to uri="register-thank-you"/> </map:match> The problem is the file does not get updated However, if I replace the redirect-to with <map:serialize type="xml"></map:serialize> Then I see the correct answers from the source write and I also see the results correctly in the file. What am I doing wrong? K<o> - -- [EMAIL PROTECTED] http://conficio.blogspot.com/ ================================================ | We teach software one screencast at a time | ================================================ http://www.conficio.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) iD8DBQFFPixxRDUvrJRNjTARAiS0AKCXtKTFcwAsdyrrHQ/HyR8mP7zljACfexN6 V35pXKnCyxtMHWzFIYbogfo= =0EiZ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
