Hi Luca,
Out Of The Box we do not have anything that can do this. However you can write your own. Not sure if you're using Windows or Linux, actually easier in Linux to do using shell scripting. For Windows I would recommend using perl over batch as perl is more powerful.
But your error of "com.wily.introscope.spec.server.XMLException: XML problem while parsing {0}" indicates that the modification you made is missing something, i.e. a closing " or a closing '/>'.
Can you post the changes you made to the Management Module?
I would also like to see the DEBUG log messages above that exception, that could help to narrow down where the problem lies.
Thanks,
Matt