Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只想使用 C++/COM- 从 XML 中删除 XML 声明
<?xml version="1.0" encoding="UTF-8" ?>
使用IXMLDOMDocument2界面msxml6
IXMLDOMDocument2
msxml6
我怎样才能做到这一点?
使用 IXMLDocument::xml 属性并将字符串保存到文件中。