title: How can I import/export from XML Persistence Format files?
body: <p>I have some XML files which look like that:</p>
  <pre><code>&lt;xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
  xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
  xmlns:rs='urn:schemas-microsoft-com:rowset'
  xmlns:z='#RowsetSchema'&gt;
  &lt;s:Schema id='RowsetSchema'&gt;
  &lt;s:ElementType name='row' content='eltOnly'&gt;
      &lt;s:AttributeType name='Idlog' rs:number='1'&gt;
          &lt;s:datatype dt:type='i2' dt:maxLength='2' rs:precision='5' rs:fixedlength='true' rs:maybenull='false'/&gt;
      &lt;/s:AttributeType&gt;
      &lt;s:AttributeType name='ExpDate' rs:number='2' rs:writeunknown='true'&gt;
          &lt;s:datatype dt:type='dateTime' rs:dbtype='timestamp' dt:maxLength='16' rs:scale='0' rs:precision='16' rs:fixedlength='true'
           rs:maybenull='false'/&gt;
      &lt;/s:AttributeType&gt;
      &lt;s:AttributeType name='ExpOper' rs:number='3' rs:writeunknown='true'&gt;
          &lt;s:datatype dt:type='string' rs:dbtype='str' dt:maxLength='30' rs:maybenull='false'/&gt;
      &lt;/s:AttributeType&gt;
      &lt;s:AttributeType name='ImpDate' rs:number='4' rs:nullable='true' rs:writeunknown='true'&gt;
          &lt;s:datatype dt:type='dateTime' rs:dbtype='timestamp' dt:maxLength='16' rs:scale='0' rs:precision='16' rs:fixedlength='true'/&gt;
      &lt;/s:AttributeType&gt;
      &lt;s:AttributeType name='ImpOper' rs:number='5' rs:nullable='true' rs:writeunknown='true'&gt;
          &lt;s:datatype dt:type='string' rs:dbtype='str' dt:maxLength='30'/&gt;
      &lt;/s:AttributeType&gt;
      &lt;s:AttributeType name='MaxDate' rs:number='6' rs:nullable='true' rs:writeunknown='true'&gt;
          &lt;s:datatype dt:type='dateTime' rs:dbtype='timestamp' dt:maxLength='16' rs:scale='0' rs:precision='16' rs:fixedlength='true'/&gt;
      &lt;/s:AttributeType&gt;
      &lt;s:AttributeType name='NameWS' rs:number='7' rs:writeunknown='true'&gt;
          &lt;s:datatype dt:type='string' rs:dbtype='str' dt:maxLength='20' rs:maybenull='false'/&gt;
      &lt;/s:AttributeType&gt;
      &lt;s:extends type='rs:rowbase'/&gt;
  &lt;/s:ElementType&gt;
  &lt;/s:Schema&gt;
  &lt;rs:data&gt;
  &lt;z:row Idlog='1123' ExpDate='2019-02-11T16:06:00' ExpOper='szf' MaxDate='2019-02-08T09:24:00' NameWS='КЦ-0'/&gt;
  &lt;/rs:data&gt;
  &lt;/xml&gt;
  </code></pre>
  <p>I need to export classes from C# code to this XML schema.
  I tried to find some information and found examples with ADO DB and MSSQL. I don't have MSSQL server. I tried to export DataSet, but I got another schema.
  I need identical schema from example.
  Any ideas?</p>