This is an idea of mine. I think there should be an Xml++ java package, with extendible syntax like this:
importxmlplusplus.parser.tag.importincludeimportAWT.xmlxmlplusplus.parser.tag.awt.GridBagParser
...
Ok course, this is somewhat contrived, but you get the idea. To add a new tag, simply add a class derived from xmlplusplus.parser.tag and add some text to the xml. Some tags would be default, of course, but this could help in many systems, such as AiMl used in AliceBot, or guis as shown above(especially menus).
Menu example:
AwiAwtMenuMyMenu