简体   繁体   中英

Remove XML declaration using msxml6/IXMLDOMDocument2

I want to remove XML declaration only from an XML using C++/COM-

<?xml version="1.0" encoding="UTF-8" ?>

using the IXMLDOMDocument2 interface of msxml6

How can I achieve this ?

使用IXMLDocument :: xml属性并将字符串保存到文件中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM