Have a look at the XMLDBTransformer in the scratchpad area.
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/transformation/XMLDBTransformer.java

HTH
Guido

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Guido Casper, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-87  [EMAIL PROTECTED] - http://www.s-und-n.de
=================================================================


M.Homeijer schrieb:
> Hi,
>
> For a prototype I have the need to store form data in a Xindice (db:xml)
> database. I was thinking of writing an action that generates xml data
based
> on the request, calls a transformer and then stores the xml data in
> Xindice).
>
> Right now I am trying to find code that will be helpfull with this
> (copy/past reuse). This got me thinking, how hard would it be to use a
> normal pipeline to generate my data and instead of a serializer write
some
> kind of component that stores my data at the right destination in the xml
> database:
>
> <map:act type="incomingpipeline">
>    <map:generate type="request">
>    <map:transform src="form2myxmlformat.xsl">
>    <map:store destination=".....">
> </map:act>
>
> Maybe somebody can give me some comment on the approach or give me some
> hints.
>
> TIA,
> Michael Homeijer
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to