|
Hi,
I am looking to use an eXist database, OPS to provide an xml only solution.
The requirements are split between a web app and an ETL functionality.
My question(s) are related, but bear with me.
For starters I am using an XSD to represent the XML and would like to keep common XML in a separate collection.
An example is: multiple documents will have the same user profile.
If I want to store a single user profile for multiple user documents:
1). Do I define the XSD to have the user profile XML as the type xs:anyURI, or do I need to store the xml file name (that's stored in an eXist collection) and transform it?
2). I have read about xinclude. Is it applicable in such scenarios? If so, how does Orbeon help with transclusion?
Assuming that the above is achievable via some mechanism, in the ETL functionality:
1). Would I need to use multiple xmldb:store instructions to store the separate documents (user doc, user profile)
or
2). Would I need to store the separate documents by connecting 2 oxf:xforms-submission processors? i.e. the first processor would store the sub document (user profile), and the second processor would store the actual user doc.
Thanks in advance.
To the authors of this software, this is one classy, well designed and written software!
- Sateesh.
|