【发布时间】:2015-06-24 09:25:33
【问题描述】:
我有一个使用 Orbeon 开发的 XForm。现在,单击按钮,我需要能够以 XML 格式检索整个实例,将此 XML 存储在另一个实例的节点中,并将其发布到 Web 服务。 Web服务部分,按钮点击都很好,这是我正在努力的检索。
<xf:instance id="model-xml-instance">
<form>
<Timestamp />
<UserName/>
<FormXML/>
</form>
</xf:instance>
<xf:instance id="model-main-instance">
<form>
<ControlValue1 />
<ControlValue2 />
<ControlValue3 />
</form>
</xf:instance>
<xf:action ev:event="DOMActivate">
<!-- Before the submission I need to retrieve the XML of the instance "model-main-instance", and store it in the FormXML node of 'model-xml-instance' -->
<xf:send submission="My-submission"/>
</xf:action>
【问题讨论】: