Oleg Dulin wrote:
Dear Colleagues:
Is there a way to get HTTP POST parameters as elements in an XML document ?
For instance:
<requets> <post> <parameter name="foo" value="bar" /> </post> </request>
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]
