Wednesday 30 July 2008

Orbeon: 2 instances - copying XML content from one instance to another.

There was a problem that we needed to solve where the decisions made by the user would need to result in fragments of XML being copied / removed on request; for example, the choice(s) a user could make whilst filling in the XForm could result in specific (relevant) XML being moved from 'somewhere' into their instance document.

To do this, you will need some code that looks (something) like this:

Thanks once again to the Orbeon forums ( for helping me out once again with this one!

Hope this info helps someone else.

No comments: