Can I make a suggestion for how dwarfexport exports to xml?
The current export format won't be changed, because it's what the 'dwarf guidance counselor' tool expects. Also, it's not HTML. I have no idea if people still use it for dgc, but if you want to add your own export format, DO IT
No, it
doesn't. DGC is still a useful tool because it can read information about dwarves
during embark, which splinterz' DT can not do; However, it's a pain in the ass. The XML format must-have changed somewhere along the line, because DGC is buggy as hell without manual reformatting to remove extraneous data. I was playing around with it last week and modded the source to make colour-code stats above and below average... a few days before I discovered splinterz' DT.
While DGC's parser is functional, it relies on hard-coded variables - which would make maintenance a chore. It would ultimately be much simpler to iterate through fields than to assign variables by name. It was pretty cheap of me to bring it up, when I'm not quite prepared to rework the codebase. But I'm glad that you're working on/thinking about this, because it puts us on the same page.