From: Alessandro V. <av...@or...> - 2008-11-11 07:24:42
|
Ramesh, rameshkancherla wrote: > > I have changed method type into post but now i am not getting saving > <xforms:submission id="save-submission" > action="/exist/rest/db/orbeon/media-type/media.xml" replace="instance" > method="post" /> > > can you please give me suggestion > You can have a look the code of the eXist sandbox. It is just in one XForms file: resources/apps/sandbox-exist/view.xhtml. You will see there that there is one instance that contains the XML document containing the XQuery to send to eXist: <xforms:instance id="query-instance"> <exist:query> <exist:text> XQuery here </exist:text> </exist:query> </xforms:instance> That instance is sent to the eXist REST API with an XForms submission. Alex ----- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ Twitter - http://twitter.com/avernet -- View this message in context: http://www.nabble.com/append-node-to-existed-xml-in-eXist-database-tp20397618p20434668.html Sent from the exist-open mailing list archive at Nabble.com. |