@Fated Temp - Thanks
Just about got the XML->RAW thing figured out, just have to get it to handle tags that have both attributes of their own, and have children-with-children (I.E. "grandchildren"). As it is, it knows to write XML tags containing only text (I.E. <fat>4</fat>) as [tagname:attribute], it knows to write those with no attributes as [tagname], and currently takes any tags that don't have grandchildren, and outputs them as [tagname:attr1:attr2:attr3...] Just have to get it to handle tags like [OBJECT:ID] and [CREATURE:ID] properly, and it should be good.
[EDIT]: Got it working in the testing project:
Just need to transfer it over to the original program, and make a small change to the way it handles tags like [OBJECT:ID] and [CREATURE:ID], and it should be ready. One thing of note, until I find a better way to handle it, be careful not to let the attribute names of tags like object/creature match the names of the possible child tags, as it may try to pick the wrong information out of the XML if they share the same name (although this should probably be avoided anyways, simply on account of keeping clean XML...)
[EDIT2]: Couple quick formatting questions. The program now tracks two names for the tags, one for the RAW files, and one for the XML. I.E. When converting to XML, it checks the tags against the RAW name, then writes them with the XML name. This is completely transparent at the moment, the only difference is that when re-naming a tag, there is an extra text-box that allows you to set a different XML name, as it defaults to the same as the RAW name.
Now, from what I understand, "standard" RAW tags are in all caps, while standard XML tags are in all lowercase. My questions are these:
1. Should I make it automatically change the RAW tag names to all caps? (Technically this doesn't matter for converting to XML, since the check isn't case-sensitive, but it'll matter when I set it up to write RAW files from the XML files...)
2. Should I make it automatically change the XML tag names to all lowercase? (Again, won't really matter when reading the XML file, but it will matter when writing one...)
3. Theoretically, I could make this a check-box option for each, but this could be time consuming, as I'd have to teach myself how to properly set up check-boxes, and I'd have to set up some sort of settings file, probably either INI or XML... would it be worth the trouble? If this is something you'd like to see, would it be better in a separate options menu, or as a check-box next to the "Add Tag" button or something?
Feel free to comment or use the poll or whichever, just need some input, given my horrible lack of visual/GUI-design skill