Code for working with XML documents as both markup and text.