title: Remove xsi:nil attibute using IXMLDOMDOCUMENT in Delphi
body: <p>I have an xml document that contains many xml nodes. The document has <code>xsi:nil="true"</code> attributes. If I set values on these nodes, the <code>nil</code> attribute remains and it becomes invalid against my xsd. </p>
  
  <p><strong>Question:</strong></p>
  
  <p>How do I remove the <code>xsi:nil</code> attributes using Delphi 2006 code with the MSXML2_TLB? </p>
  
  <p>I tried this:</p>
  
  <pre><code>xmlNode.attributes.removeNamedItem('xsi:nil');
  </code></pre>
  
  <p>It runs without an error, but does not remove the attribute.</p>