Re: Aggregate instances when performing submission
Posted by ncrofts on
URL: https://discuss.orbeon.com/Aggregate-instances-when-performing-submission-tp3936413p3939928.html
Hi Erik.
Isn't it typical, as soon as I press the button to send my "it doesn't work" message, I re-read the manual and realise that to pass in a set of nodes to the xxforms:element function that you need to surround the second argument with brackets (). The following does indeed solve the problem I encountered:
<xforms:submission id="do-alpha-beta" method="post" resource="alpha-beta" ref="xxforms:element('result', ($alpha, $beta))" replace="instance" instance="result"/>
Many thanks for pointing me in the right direction once again.
Regards,
Neil