title: Does the order of xmlns elements matter
body: <p>I'm not sure how to search google for this but does the matter of the xmlns elements matter in an XML File?
  I'm creating a XML file using XMLWriter in ASP.NET(VB) and I'm trying to match an example I was provided. </p>
  
  <pre><code>&lt;ns2:SubmitSMReq xmlns:ns4="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4" xmlns:ns2="http://somesite/schema"&gt;
  </code></pre>
  
  <p>This is what I have in my vb file:</p>
  
  <pre><code>writer.WriteStartElement("ns2", "SubmitSMReq", "http://schemas.xmlsoap.org/soap/envelope/")
  writer.WriteAttributeString("xmlns", "ns3", Nothing, "http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4")
  writer.WriteAttributeString("xmlns", "ns4", Nothing, "http://somesite/schema")
  </code></pre>
  
  <p>But it generates the XML differently. </p>
  
  <pre><code>&lt;ns2:SubmitSMReq xmlns:ns3="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-4" xmlns:ns4="http://somesite/schema" xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/"&gt;
  </code></pre>
  
  <p>I realize the xmlns in the provided example has different "ns" (namespace?)" numbers. Does either of these things matter? Should I be alright with my file? </p>
  
  <p>Thanks </p>