I wrote a VBScript to remove all the comments in a XML file. But it didn\'t work correctly. The script reads from a .xml file, generates a XML file which removes comments an
You can try with something like
With WScript.CreateObject("msxml2.DOMDocument.6.0") .Async = False .Load "in.xml" .SelectNodes("//comment()").RemoveAll .Save "out.xml" End With