XmlDocument doc = new XmlDocument();
using(XmlWriter writer = doc.CreateNavigator().AppendChild())
{
new XmlSerializer(o.GetType()).Serialize(writer, o);
}
return doc.DocumentElement.whatever.InnerXml
content was just a normal xml object


VUID-VkDebugReportCallbackCreateInfoEXT-flags-parameterwhy can't i use the enum max value like the evil i am


It sounds like you are using Python 3.11.2 or newer.
That version of Python cannot be used with Chromium's mojom scripts until https://crbug.com/1422178 (which I reported 4 months ago) has been fixed.
<news>
<subcategory>
<id>1</id>
<title>Subcategory title</title>
<item>
<id>2</id>
<subject>Item subject</subject>
<content><frame width="100"><title>Frame item title</title><item width="100"><content>Frame item content</content><background>Frame item background</background></item></frame></content>
</item>
</subcategory>
</news>