标签: javascript angularjs node.js xml scripting
当我尝试将XML序列化为字符串时,会自动从XML中删除Closing标记。
let serializedXmlContent = new XMLSerializer().serializeToString(doc);