static String stripComments(String xmlContent) { return xmlContent.replaceAll(RegExp(r'<!--.*?-->', dotAll: true), ''); }