title: Creating an XML document using namespaces in Java
body: <p>I am looking for example Java code that can construct an XML document that uses namespaces. I cannot seem to find anything using my normal <a href="http://www.google.com" rel="noreferrer">favourite tool</a> so was hoping someone may be able to help me out.</p>