While I was uploading my new version 1.1 UI,I saw your post.Yes that is my wish list to do.Im new to xml too.There is one UI that I know that works like you describing and thats the awsome Deewe's UI:Yessh.
I will have to look at her/him xml code and fiddle with it.
But yeah thats what I want to do.
Hopefully I can do it.
Pic of new Black Glass Mix V 1.1 is uploaded and ready to download.