mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-24 07:29:35 +01:00
16 lines
401 B
C++
16 lines
401 B
C++
#pragma once
|
|
#include <winrt/Windows.Data.Xml.Dom.h>
|
|
#include <string>
|
|
#include <sstream>
|
|
|
|
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();
|
|
};
|