[Xsltforms-support] XSLTForms server-side in eXist 2.2
Brought to you by:
alain-couthures
From: Tim T. <tim...@gm...> - 2015-03-02 02:45:22
|
Hello, I am attempting to run XSLTForms (r609) using a server-side controller pipeline[1] in eXist 2.2 with submissions to RESTXQ. My main XForms loads correctly, but when I submit data to my RESTXQ function and return the response, the transformation does not fire again. I am generating a new XForms document in XQuery and returning it to the XForms, with a value of @replace = "all" on the xf:submission element. Is there a way to get server-side processing to work when returning a new XForms document like this? It works if I use a transformation function, but I would prefer to follow a uniform approach. I was using the client-side transformation, but was experience some minor performance issues: my XForms submission is querying a Web API and pulling in data, and there seemed to be a noticeable lag when the page reloaded using the client-side transformation. Thanks in advance, Tim [1] Following the documentation at < http://www.exist-db.org/exist/apps/doc/xforms.xml#D1.2.5.3>, though it seems to be for an earlier version of eXist. |