cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nanomonk <>
Subject POST .xml
Date Sat, 16 Feb 2008 11:32:45 GMT

I need to POST .xml file to server for further its processing...
so, I have a simple upload.html for test:
method="post" enctype="text/xml">
      File:  <input type="file" name="uploadfile">
      <input type="submit"/>
and I have pipeline with StreamGenerator:
<map:match pattern="upload/setSettings">
	<map:generate type="stream">
		<map:parameter name="form-name" value="uploadfile"/>
		<map:parameter name="defaultContentType" value="text/xml"/>
	<map:serialize type="xml" />
all ok and in source of
"http://localhost:8888/setSettings?paramone=12345&paramtwo=blablabla" I see
my .xml.
But.. I need to get from it some data and process it... I think to do that
in .xsp. I need to take params of request and according them to do some
actions... But I don't know how to get DOM Document from this recieved
View this message in context:
Sent from the Cocoon - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message