title: DataContractSerializer with Multiple Namespaces
body: <p>I am using a DataContractSerializer to serialize an object to XML. The main object is SecurityHolding with the namespace "<a href="http://personaltrading.test.com/" rel="nofollow noreferrer">http://personaltrading.test.com/</a>" and contains a property called Amount that's a class with the namespace "<a href="http://core.test.com" rel="nofollow noreferrer">http://core.test.com</a>". When I serialize this to XML I get the following:</p>
  
  <pre><code>&lt;ArrayOfSecurityHolding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://personaltrading.test.com/"&gt;
    &lt;SecurityHolding&gt;
      &lt;Amount xmlns:d3p1="http://core.test.com/"&gt;
          &lt;d3p1:Amount&gt;1.05&lt;/d3p1:Amount&gt;
          &lt;d3p1:CurrencyCode&gt;USD&lt;/d3p1:CurrencyCode&gt;
      &lt;/Amount&gt;
      &lt;BrokerageID&gt;0&lt;/BrokerageID&gt;
      &lt;BrokerageName i:nil="true" /&gt;
      &lt;RecordID&gt;3681&lt;/RecordID&gt;
    &lt;/SecurityHolding&gt;&lt;/ArrayOfSecurityHolding&gt;
  </code></pre>
  
  <p>Is there anyway I can control the d3p1 prefix? Am I doing something wrong or should I be doing something else?</p>