开发者

Remove XML declaration using msxml6/IXMLDOMDocument2

开发者 https://www.devze.com 2023-03-27 06:57 出处:网络
I want to remove XML declaration only from an XML using C++/COM- <?xml version=\"1.0\" encoding=\"UTF开发者_JAVA百科-8\" ?>

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

<?xml version="1.0" encoding="UTF开发者_JAVA百科-8" ?>

using the IXMLDOMDocument2 interface of msxml6

How can I achieve this ?


Use IXMLDocument::xml property and save the string to a file.

0

精彩评论

暂无评论...
验证码 换一张
取 消