title: Linq To XML: Writing xsi into an element?
body: <p>Just playing about with LinqToXml and I need to form a xelement as follows:</p>
  
  <pre><code>    Dim xe As XElement = _
      &lt;Xml&gt;
          &lt;ElementOne&gt;
              &lt;SubElement&gt;&lt;/SubElement&gt;
              &lt;SubElement&gt;&lt;/SubElement&gt;
          &lt;/ElementOne&gt;
          &lt;ElementWithXsi xsi:type="XsiForElementWith"&gt;
              &lt;SubElement&gt;&lt;/SubElement&gt;
          &lt;/ElementWithXsi&gt;
      &lt;/Xml&gt;
  </code></pre>
  
  <p>This creates an error here: xsi:type "XML namespace prefix 'xsi' is not defined"</p>
  
  <p>Is it possible to write this in Linq to xml?</p>