I am trying to canonicalize a few xml documents. As I see it can be achieved by using XmlStar by executing a CMD command
xml c14n --exc-without-comments test_