Added an XML flavor of the support added in previous commits based on XML Beam [0]. [0] http://www.xmlbeam.org.