Export data to XML

Asked by openT

How would one export the data that is stored in the PostgreSQL to an XML file? Currently, in OpenERP, it is only possible to export the data to CSV or Excel format with tabs that have a tree view (the other menus don't have the export/import buttons).

I've also looked around in the documentation for serialization, but there are only examples and none of it shows how to do it.

Thanks for reading.

Question information

Language:
English Edit question
Status:
Answered
For:
OpenERP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
David Mitchell (www.novapointgroup.com) (david-novapointgroup.com) said :
#1

Depending on your needs you could export data via the jasper_reports module and iReport. One of the nice things about ireports and jasper is the ability to download into other formats - you can publish you reports as PDF, RTF, XML, XLS, CSV, HTML, XHTML, text, DOCX, or OpenOffice.

This link also suggests a way to do it from Postgres directly
http://archives.postgresql.org/pgsql-sql/2005-11/msg00151.php

Hope the hints help.

Can you help with this problem?

Provide an answer of your own, or ask openT for more information if necessary.

To post a message you must log in.