Reputation: 4866
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
IXMLDOMDocument2
msxml6
How can I achieve this ?
Upvotes: 0
Views: 413
Reputation: 1534
Use IXMLDocument::xml property and save the string to a file.
Upvotes: 1