Hi,
Is it possible with XUpdate/XPath to have a *generic* piece of
code, valid for all form layouts, that copies attributes from
a branch of the action result to the instance?
My form for example looks like:
<form>
<person/>
<givenName/>
<surname/>
...
<country/>
<form>
My action result might look like:
<action>
<success>false</success>
<message>Invalid Form</message>
<form>
<person>
<givenName valid="false">
<surname>
...
<country valid="false">
<form>
</action>
So, the action output includes a branch like the form as /action/form,
with attributes that I want to use to update the instance with XUpdate
in the <result> part, like this:
<form>
<person/>
<givenName xxforms:valid="false"/>
<surname/>
...
<country xxforms:valid="false"/>
<form>
Can this be done with XUpdate, *independent* of the form layout
(and its structure, depth, etc.)? (I know how to do this for
individual fields etc.)
Thanks,
--
-- Jos Vos <[EMAIL PROTECTED]>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user