문제

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 ?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top