   Structure exporting a level
  Hello,here is the thing, I want to make an exporter for Maya. I've already made one before but it was an extremely simple one...With my new exporter i want to extract polygons, materials, animations, etc. The actual extracting is not a problem, I know how the Maya API works (and I know how to search for things for what I do not know how they work ;))Of course all this extracted information is written to a binary file to speed things up but, before I'll write it to a bin file, I want it exported to a XML file.Here is where I'm stranding... the 'problem' is that I do not know how to set up a nice and good organized XML structure.I was thinking of the following:There is a entry file called World.xml.<?xml version="1.0" ?><world><meshes><mesh name="Cube1" /><mesh name="Sphere1" /><mesh name="Cube2" /></meshes></world>Every <mesh> has a name, this name is a reference to another XML file. So in this case you're getting: 'Cube1.xml', 'Sphere1.xml', 'Cube2.xml'.In these new XML files the following content is placed:<?xml version="1.0" ?><mesh><polygons><polgon><vertex x="..." y="..." z="..." /><vertex x="..." y="..." z="..." /><vertex x="..." y="..." z="..." /></polygon></polygons><materials><texture name="Tex1.bmp" src="..." /><texture name="Tex2.bmp" src="..." /></materials><animation></animation></mesh>And last to write it to a binary file i'll just read the world.xml file and parse everything.What do you all think of this 'design'? And do you have any tips for me?Thnx,Walter   