0

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 ?

Angshuman Agarwal
  • 4,796
  • 7
  • 41
  • 89

1 Answers1

1

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

PeeWee2201
  • 1,464
  • 2
  • 15
  • 23