Export eXist database

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Export eXist database

abutnaru
Hi,
I am building a form to collect data which will have to export all data
in the end to a third party in a common format. I know eXist is native
XML. Is there any chance to create an export "mechanism" to export data
in an XML file directly from the XForm?

Regards,
Adrian


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Export eXist database

fl.schmitt(ops-users)
Adrian,

> I am building a form to collect data which will have to export all data
> in the end to a third party in a common format. I know eXist is native
> XML. Is there any chance to create an export "mechanism" to export data
> in an XML file directly from the XForm?

i think this shouldn't be a problem. Your xforms instances are xml
already, so you just have to use a processor like the file-serialize [1]
to write them to disk, for example. There are more serializers that may
be suitabe for your needs, too. It may be possible to serialize a XML
file from eXist "directly", but IMHO it's easier to retrieve it through
REST or XMLDB into OF and serialize it using one of the OF serializers.

HTH
florian

[1] http://www.orbeon.com/ops/doc/processors-serializers#file-serializer




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Export eXist database

abutnaru
Thank you Florian. I will try to use file-serialize and see what tthe
results are. The idea is that once exported the database should be
easily imported in any common database system (MySQL, Postgres).

Thanks for the tip!

Regards,
Adrian

Florian Schmitt schreef:

> Adrian,
>
>> I am building a form to collect data which will have to export all
>> data in the end to a third party in a common format. I know eXist is
>> native XML. Is there any chance to create an export "mechanism" to
>> export data in an XML file directly from the XForm?
>
> i think this shouldn't be a problem. Your xforms instances are xml
> already, so you just have to use a processor like the file-serialize
> [1] to write them to disk, for example. There are more serializers
> that may be suitabe for your needs, too. It may be possible to
> serialize a XML file from eXist "directly", but IMHO it's easier to
> retrieve it through REST or XMLDB into OF and serialize it using one
> of the OF serializers.
>
> HTH
> florian
>
> [1] http://www.orbeon.com/ops/doc/processors-serializers#file-serializer
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws