Re: Getting request parameters as an XML document

2003-10-17 Thread Christian Haul
Tony Collen wrote:
Oleg Dulin wrote:

Dear Colleagues:

Is there a way to get HTTP POST parameters as elements in an XML 
document ?

For instance:



 




Oleg,

Yep, check out the RequestGenerator:

http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/RequestGenerator.html 
Another -- less flexible way -- could be to use the XMLInputMetaModule 
which would return a DOM containing all (or a subset) request 
parameters. IIRC its JXPath enabled, so access to single parameters is 
still possible.

	Chris.

--
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Getting request parameters as an XML document

2003-10-17 Thread Tony Collen
Oleg Dulin wrote:
Dear Colleagues:

Is there a way to get HTTP POST parameters as elements in an XML document ?

For instance:



 


Oleg,

Yep, check out the RequestGenerator:

http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/RequestGenerator.html

Regards,

Tony

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


Getting request parameters as an XML document

2003-10-17 Thread Oleg Dulin
Dear Colleagues:

Is there a way to get HTTP POST parameters as elements in an XML document ?

For instance:



 


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