title: The ':' character, hexadecimal value 0x3A, cannot be included in a name."}
body: <p>I'm using VS2010, C#, .net, and xmlWriter to create xml documents to HL7 CAT-1 specification.  There is an attribute, 'sdtc:ValueSet' that must be created in the document.  I am unable to write this attribute name, due to invalid character ":".  </p>
  
  <p>Here is the actual line of code: </p>
  
  <pre><code>writer.WriteAttributeString("sdtc:valueSet", "OID value");
  </code></pre>
  
  <p>Does anyone have a solution for creating the attribute, as shown?</p>
  
  <p>Continuing to research, but decided to post this question in hopes of quickly finding a solution.  </p>
  
  <p>This question was flagged as a duplicate, incorrectly I am arguing.  Existing responses referenced writing an element, or using LINQ.  The problem explicitly states Attribute, using xmlWriter.   One responder suggested using an overloaded WriteAttributeString method, which 
  solved the problem. </p>