At the moment it's very buggy to be using string replacements to tweak XML output, instead we should be using a proper XML manipulation library. We may need to be careful about memory usage though.
Active
1.0
Code