title: How to create XmlElement attributes with prefix?
body: <p>I need to be able to define an attribute with a prefix in a xml element.</p>
  
  <p>For instance...</p>
  
  <pre><code>&lt;nc:Person s:id="ID_Person_01"&gt;&lt;/nc:Person&gt;
  </code></pre>
  
  <p>In order to do this I though that the following would have worked.</p>
  
  <pre><code>XmlElement TempElement = XmlDocToRef.CreateElement("nc:Person", "http://niem.gov/niem/niem-core/2.0");
  TempElement.SetAttribute("s:id", "http://niem.gov/niem/structures/2.0", "ID_Person_01");
  </code></pre>
  
  <p>Unfortunately, XmlElement.SetAttribute(string, string, string) does not seem to support parsing the prefix as I receive the error below.</p>
  
  <blockquote>
    <p>The ':' character, hexadecimal value 0x3A, cannot be included in a name.</p>
  </blockquote>
  
  <p>How would I define an attribute with prefix?</p>