Seems like a very similar concept to Ext.NET. Not saying that's a bad thing, just wanted to give the conversation some context.
I'm curious as to why you chose XML instead of a simpler format like JSON. Because this:
Code:
<x:Panel title="DatePicker" closable="false" bodyPadding="10" layout="vbox"> <x:DatePicker/>
<x:Button text="Ext Button"/>
<x:Slider increment="5" minValue="0" maxValue="100" width="200px"/>
</x:Panel>
is just a mapping of this:
Code:
{
"xtype": "panel",
"title": "DatePicker",
"closable": false,
"bodyPadding": 10,
"layout": "vbox",
"items": [
{"xtype": "DatePicker"},
{
"xtype": "button",
"text": "Ext Button"
},
{
"xtype": "slider",
"increment": 5,
"minValue": 0,
"maxValue": 100,
"width": 200
}
]
}
which is just as declarative as your XML without sacrificing readability and has the bonus of mapping directly to your application output.