What would the purpose be of sending xml back as a result and then
redirecting the client?  This "need" keeps coming up when using the
transformers with side effects, of which the sql transformer is one.

Again, why do you need to redirect?  Why not serve them the content
you want them to have right away?

Geoff

At 01:46 PM 6/4/2003, you wrote:
I'm looking for a clean way to 'redirect' a user back to a page, at the end of a pipeline.

<map:match pattern='comment'>
   <map:generate src="xml/insert_comment.xml"/>
   <map:transform type="sql">
       <map:parameter name="use-connection" value="myconnection"/>
   <map:transform>
   <map:serialize type="xml"/>
   <REDIRECT or something here/>
</map:match>

map:redirect doesn't work because it skips the generate and transform. Browsing through the mail archive someone suggest's using a meta redirect tag in generated html. (http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=105464887116737&w=2)

This would work but it seems clunky.. There must be a cleaner way to accomplish this.?

-Daniel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to