Some fun stuff that allows you to create well-formed XML without using the W3C DOM.