title: XSLT 2.0 to convert CSV to XML format
body: <p>I am are trying to convert an CSV (comma separated file) into XML. For this, I am coding an XSLT template and this is my 1st try at XSLT...</p>
  
  <p><strong>CSV sample:</strong></p>
  
  <pre><code>ClaimRef,HandlerRef,ClaimType,Date,Area,SettleDate,ClaimStatus,ClaimantName
  1,1/1,Liability,08-12-2013,US,23-05-2014,Closed,Mark
  2,1/2,Liability,08-10-2013,UK,23-02-2014,Closed,John
  </code></pre>
  
  <p><strong>Desired XML Output format:</strong></p>
  
  <pre><code> &lt;Claims&gt;
       &lt;Claim&gt;
        &lt;ClaimRef&gt;&lt;/ClaimRef&gt;
        &lt;HandlerRef&gt;&lt;/HandlerRef&gt;
        &lt;ClaimType&gt;&lt;/ClaimType&gt;
        &lt;Date&gt;&lt;/Date&gt;
        &lt;Area&gt;&lt;/Area&gt;
        &lt;SettleDate&gt;&lt;/SettleDate&gt;
        &lt;ClaimStatus&gt;&lt;/ClaimStatus&gt;
        &lt;ClaimantName&gt;&lt;/ClaimantName&gt;
       &lt;/Claim&gt;
      &lt;/Claims&gt;
  </code></pre>
  
  <p>I used <a href="http://blogs.msdn.com/b/kaevans/archive/2003/04/17/5780.aspx" rel="noreferrer">http://blogs.msdn.com/b/kaevans/archive/2003/04/17/5780.aspx</a> as initial start and <a href="http://xslttest.appspot.com/" rel="noreferrer">http://xslttest.appspot.com/</a> to test the results. But this article mentions how to get the values as <code>&lt;row&gt;&lt;elem&gt;, etc</code>.</p>
  
  <p>Please can you guide me how to code an XSLT to generate above XML based on sample CSV data.</p>