How can I import a Base database from XML?

I am playing with a real cool sector of space generator called AstroSynthesis by www.nbos.com. It uses NASA formulas to generate realistic star systems. Great generator beautiful GUI can spend hours exploring star systems. I love it for my Traveler Campaign. The problem is that it does not have a very good data handling system when it comes to searches. Like I want a list of the Planets that have a Gravity between 0.8G and 1.15G or all the Stars that have no Gas Giants.

Well it is a database generator and I can right a Quarry that can find what I am looking for in a database. It can export the data in XML format. So my question is
How can I take a XML file and put it into a Quarry able database.

The XML is a lot of entries like this
… `
Star
10605311
16776960
1
30
60
40
K9V
0.590169
0.517274
371.18
0.099546
904394
2
39
Gas Giant, Hospitable
12632256
0.5
715426068



16327834 5458 0.6 0.375984291905314` ...