The XML isn't too bad once you widdle it down to only the things that you need. For example drop the sun attributes, nebula attribute, as they do not have any place in the game. CuAnnan what language do you write in?
- Kozain
- Kozain
..
Actually, I'm using xquery to pull out the sectors one at a time and paring those into usable XML
The suns are now just a property of the root node as an integer, because nothing else is really useful, likewise planets.
The next phase, which I'll start later in the week, is to get the factories while building the Sectors and transform those into a usable format.
The XML sanitisation is being written in Java, because the XML RPC for exist is good, and all, but the ability to bind variables to queries is too useful in Java.
I am just as competent in PHP as Java, but I find that the more I use Java, the less I like PHP's untyped nature.