title: How to Add schemaLocation attribute to an XML document
body: <p>Please view following XML namespace and schemaLocation. </p>
  
  <pre><code>&lt;agr:ABWInvoice 
    xsi:schemaLocation = "
      http://services.agresso.com/schema/ABWInvoice/2011/11/14 
      http://services.agresso.com/schema/ABWInvoice/2011/11/14/ABWInvoice.xsd" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:agrlib = "http://services.agresso.com/schema/ABWSchemaLib/2011/11/14"
    xmlns:agr = "http://services.agresso.com/schema/ABWInvoice/2011/11/14"
  &gt;
  
  &lt;/agr:ABWInvoice&gt;
  </code></pre>
  
  <p>I have added namespaces in following way, which seems working fine:</p>
  
  <pre><code>XmlSerializerNamespaces ns = new XmlSerializerNamespaces();
  ns.Add("xsi", "http://www.w3.org/2001/XMLSchema-instance");
  ns.Add("agrlib", "http://services.agresso.com/schema/ABWSchemaLib/2011/11/14");
  ns.Add("agr", "http://services.agresso.com/schema/ABWInvoice/2011/11/14");
  </code></pre>
  
  <p>But, how to add following schemalocation? Any ideas?</p>
  
  <pre><code>xsi:schemaLocation="http://services.agresso.com/schema/ABWInvoice/2011/11/14 http://services.agresso.com/schema/ABWInvoice/2011/11/14/ABWInvoice.xsd"
  </code></pre>