matsim-org / matsim-code-examples

A repository containing code examples around MATSim
GNU General Public License v3.0
82 stars 180 forks source link

Are there xsd files for all different files #150

Open PlumeRoberts opened 5 years ago

PlumeRoberts commented 5 years ago

Hello,

To process the MATSim data we us Excel, and so I created a tool to convert data from XML to csv and so to Excel. But this tool has limits, and I looked onto Excel to see if there wasn't an easier way of doing so. It is possible to import/export between Excel and XML using XSD files, and I saw some of the MATSim file reference xsd files but other uses some dtd files. I Found those file at the following adress: http://www.matsim.org/files/dtd/ But not all files use the xsd format, including plans, populations, etc.

I would like to know if there exist a xsd file for all different file or if I have to convert dtd fils/create xsd files.

Thank you for your time.

mrieser commented 5 years ago

Some MATSim files use dtd, others use xsd, but there is always only one of them for a specific file. This comes from the different preferences of developers as well as from historic reasons (some file formats were developed over 15 years ago when dtd was much more common than xsd)

PlumeRoberts commented 5 years ago

I understand, thank you very much. I will convert them on my own.