Interestingly, what the OP describes (basically, to promote XML expressions and constructs to first class objects) is not so foreign to language designers. I know at least to cases when it was done: one is
. The latter one lets you mix in Perl and XML expressions, so it is really nice example of building XML into the language.