Frage

I want to use an XML file containing a collection of objects (it is a GML file for GIS applications) as input in models i am developping. Herefore, i want to transform the objects in my XML file into real Python objects so i can use them easily. Is there an easy way of doing this, i.e. transforming the XML collection into a database of objects ?

War es hilfreich?

Lösung

You might try generateDS. generateDS homepage. Last time I used it was a couple of years ago, and it had some limitations then---there were some valid xsd features that it would not handle. Looks like it has been evolving since then; those limitations may have disappeared, or they may not apply to your situation anyway.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top