title: XML Content is not allowed in prolog
body: <p>I don't know whether I am doing in a correct way or not. But I just tried to use namespace in <code>xml</code>. When i try to transform xml to xsl am getting this error <code>XML Content is not allowed in prolog</code> </p>
  
  <p>This is my <code>xml</code>.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;pi:Payroll_Extract_Employees xmlns:pi="urn:com.sdsd/picof"&gt;
      &lt;pi:PayGroup&gt;
      &lt;pi:Header&gt;
          &lt;pi:Version&gt;19&lt;/pi:Version&gt;
          &lt;pi:Payroll_Company_ID&gt;ADSDP&lt;/pi:Payroll_Company_ID&gt;
          &lt;pi:Payroll_Company_Name&gt;ADSDP&lt;/pi:Payroll_Company_Name&gt;
          &lt;pi:Pay_Group_ID&gt;US1&lt;/pi:Pay_Group_ID&gt;
          &lt;pi:Pay_Group_Name&gt;US1 Salaried&lt;/pi:Pay_Group_Name&gt;
          &lt;pi:Pay_Period_Start&gt;2015-02-01-07:00&lt;/pi:Pay_Period_Start&gt;
          &lt;pi:Pay_Period_End&gt;2015-02-14-07:00&lt;/pi:Pay_Period_End&gt;
          &lt;pi:Updated_From&gt;2015-02-05T06:03:48.000-07:00&lt;/pi:Updated_From&gt;
          &lt;pi:Updated_To&gt;2015-02-06T19:47:39.457-07:00&lt;/pi:Updated_To&gt;
          &lt;pi:All_Effective&gt;false&lt;/pi:All_Effective&gt;
      &lt;/pi:Header&gt;
      &lt;/pi:PayGroup&gt;
   &lt;/pi:Payroll_Extract_Employees&gt;
  </code></pre>
  
  <p>This is my <code>xsl</code></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xd" xmlns:pi="urn:com.workday/picof"&gt;
  
  &lt;xsl:template match="/pi:Payroll_Extract_Employees/PayGroup/Header"&gt;
  &lt;folder&gt;
      &lt;file&gt;
          &lt;item&gt;&lt;xsl:value-of select="Version"/&gt;&lt;/item&gt;
          &lt;item&gt;&lt;xsl:value-of select="Payroll_Company_ID"/&gt;&lt;/item&gt;
      &lt;/file&gt;
      &lt;file&gt;
          &lt;item&gt;&lt;xsl:value-of select="Pay_Group_ID"/&gt;&lt;/item&gt;
          &lt;item&gt;&lt;xsl:value-of select="Pay_Period_Start"/&gt;&lt;/item&gt;
      &lt;/file&gt;
  &lt;/folder&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p></p>
  
  <p>Could someone guide me if i do it in a wrong way?</p>