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 (http://www.nabble.com/ObjectWeb-OPS---Users-f2537.html) for helping me out once again with this one!

Hope this info helps someone else.

Tuesday, 29 July 2008

Adding an eXist database as a Network Place.

A quick note (and reminder) for gaining access to your eXist database using Windows Explorer

Tools > Map Network Drive

Select the link that says: "Sign up for online storage or connect to a network server."

Hit Next >

Select 'Choose another network location' and hit Next >



Then give it a name.

You can now go to "My Network Places", find your mapping, put in the dba (or your user) name and password and you're good to go :)