Reputation: 27
I have an Apache Derby database built in Netbeans. I'm wondering if there is anyway to export the table contents as xml.
for example:
`<employee>
<name="Kal"/>
<ID=10/>
<employee/>` where employee is table name, name and ID just attributes
Upvotes: 1
Views: 1678
Reputation: 12883
You have several (free) options
All of these involve writing some Java code. Unfortunately, there is no built in functionality in Derby for XML export. It only supports a CSV format. Good luck!
Upvotes: 2
Reputation: 2112
Not sure if you can do XML this way, but perhaps this will provide an intermediate step:
http://db.apache.org/derby/docs/10.4/tools/ctoolsimport16245.html
It's a guide written by Apache on how to import and export data from a Derby db.
Upvotes: 0