title: How do I add a namespace prefix to each node using TXMLDocument
body: <p>I used the XML Binding Wizard to create a descendant of TXMLDocument. The files generated by this class would declare the namespace in the root node and create just plain, unadorned nodes for the rest of the document.</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;RootNode xmlns="URL" xmlns:xsi="URL" xsi:schemaLocation="URL"&gt;
      &lt;SomeNode&gt;
          &lt;AnotherNode&gt;Value&lt;/AnotherNode&gt;
      &lt;/SomeNode&gt;
  &lt;/RootNode&gt;
  </code></pre>
  
  <p>I've had no trouble reading or validating this at all. However, the processor where these files are sent now requires each node to have the namespace prefixed in order to process files correctly.</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;NS:RootNode xmlns:NS="URL" xmlns:xsi="URL" xsi:schemaLocation="URL"&gt;
      &lt;NS:SomeNode&gt;
          &lt;NS:AnotherNode&gt;Value&lt;/NS:AnotherNode&gt;
      &lt;/NS:SomeNode&gt;
  &lt;/NS:RootNode&gt;
  </code></pre>
  
  <p>How do I accomplish this with my TXMLDocument descendant? I hope it doesn't involve hand editing 10000 lines of generated code.</p>