Cocoon User wrote: > i have succesfull write a js that create an xmlobject and then post it > using xmlhttp > > i have too succesfull post this xml stream to .php and java servlet . > server side i just echo this stream and return this echo to js > > > how can i modify sitemap to make cocoon ready to receive this stream and > send a > responce back to js. > > thanks > stavros s. kounis
Use a Stream Generator: <map:match pattern="post-uri"> <map:generate type="stream"/> <!-- This generator outputs the posted document as SAX events --> <map:transform type="whatever" ..../> <map:serialize type="xml"/> </map:match> Ugo -- Ugo Cei - http://www.beblogging.com/blog/ --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>