Interesting you mention that, because I do feel obliged to point out the existence of XUL — and, likewise, numerous other programming languages which use an XML representation syntax, some of which are "dynamically extensible" (though usually in Java, Javascript, or the like).