Debug intrument to export unified xml.
That xml is internally used by RimWorld to deserialize data after loading mods and applying patches
File saved on game startup and located in Mods directory by default. You can change its location in mod settings.
You can use it to check how exactly your xml patches were applied and inheritance resolved.
On question why buttom half of the file is not indented with "indent" option:
Some xml files have randomy placed characters in them (typos, I presume). Xml engine presumes they have meaning and trying to preserve exact text value of the xml node.
One such file is present in Rimworld data directory:
\RimWorld\Data\Core\Defs\WorkTypeDefs\WorkTypes.xml
search for ">>" and remove extra angle bracket.
Mod' xml files can have the same issue. Already reported bugs to Locks and Nyaron ones.
Warning: resulting xml have size of several megabites. You need a text editor capable of opening large files.
Donate:
You can't
Changelog:
1.0.2
+ RW 1.3 compatibility tag
1.0.1
lost to the history
1.0
+ release