Skip to content
⌘ NSIS Forum Archive

Changes in the XML file after processing by the nsisXML plugin by Wizou

2 posts

stass#

Changes in the XML file after processing by the nsisXML plugin by Wizou

Changes in the XML file after processing by the nsisXML plugin by Wizou

The well-known nsisXML 1.4 plugin from Wizou works great, but...
It has a terrible flaw: the XML file is modified after processing - extra tab indents appear at the beginning of lines.
This causes some programs to completely stop working (for example, CorelDraw after editing DrawUI.items.xml. Without tab indents in xml, the program works.) !
Of course, the indents can be removed later, either manually or with a script, but that's a bad idea...

Is it possible to recompile the plugin so that the XML file doesn't get corrupted ? (After all, the plugin source code is available.) Unfortunately, I don't know how to do this...
Anders#
I think it uses MSXML, it does not parse XML on its own. There might be some flags it can pass to IXMLDOMDocument if someone has the time to investigate...