mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-11 20:23:07 +08:00
14 lines
364 B
C++
14 lines
364 B
C++
#pragma once
|
|
#include <winrt/Windows.Data.Xml.Dom.h>
|
|
|
|
class XmlDocumentEx : public winrt::Windows::Data::Xml::Dom::XmlDocument
|
|
{
|
|
private:
|
|
std::wstringstream stream;
|
|
void Print(winrt::Windows::Data::Xml::Dom::IXmlNode node, int indentation);
|
|
void PrintTagWithAttributes(winrt::Windows::Data::Xml::Dom::IXmlNode node);
|
|
|
|
public:
|
|
std::wstring GetFormatedXml();
|
|
};
|