What you're talking about isn't really XML, it's more of a meta tag insertion. If you were to mark up a small example by hand and try to load it into a parser (any XML parser that checks for well formed XML, really), I have a feeling you'd be a little let down by the results.
This document from XML.com might be a good place to start, as well as it's parent.
C-.