I have found that the engine supports JSON. Why not use JSON instead XML for resources (UI, scenes, etc.)? After all JSON is more human-accessible. What are the advantages of XML?
<element>
<attribute name="Min Size" value="0 16" />
<attribute name="Max Size" value="2147483647 16" />
<attribute name="Layout Mode" value="Horizontal" />
<element type="Text">
<attribute name="Text" value="Editor settings" />
</element>
<element type="Button" style="CloseButton">
<attribute name="Name" value="CloseButton" />
</element>
</element>
{
"Min Size": "0 16",
"Max Size": "2147483647 16",
"Layout Mode": "Horizontal",
{
"type": "Text",
"Text": "Editor settings"
}
{
"type": "Button",
"style": "CloseButton",
"Name": "CloseButton"
}
}
or
{
"Min Size": {0, 16},
"Max Size": {2147483647, 16},
"Layout Mode": "Horizontal",
Text: {
"Text": "Editor settings"
},
Button: {
"style": "CloseButton",
"Name": "CloseButton"
}
}