cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Reijn" <j.re...@hippo.nl>
Subject RE: XML parsing of form data
Date Fri, 22 Dec 2006 13:31:15 GMT
Hi Tobia,

you might want to have a look at the Stream generator.

http://cocoon.apache.org/2.1/userdocs/stream-generator.html

There is a cocoon sample that does exactly that.

Kind regards,

Jeroen Reijn

-----Original Message-----
From: Tobia Conforto [mailto:tobia.conforto@linux.it]
Posted At: Friday, December 22, 2006 2:17 PM
Posted To: Cocoon User List
Conversation: XML parsing of form data
Subject: XML parsing of form data


Hi

I need to parse a POST parameter as XML and use it in the rest of my
pipeline.  I thought of doing something like:

	<generate type="request"/>
	<transform src="extract-parameter.xsl"/>
	<transform type="string-to-xml"/>
	...

But I don't know how to begin writing the string-to-xml transformer.

Any hint?
Am I taking the wrong approach?


Tobia

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message