title: OpenOffice bug while exporting from Calc using xslt filters
body: <p>I have a row-based data in Calc which I want to export to xml using xslt filters. The filters work properly except when values in two adjacent columns are the same. For example, see the data below ...</p>
  
  <pre>
  SrNo      Col2      Col3      Col4      Col5
  1         PQR       123       567       LMN
  2         OPQ       665       786       BCD
  3         EUR       443       443       UFF
  4         OLE       345       887       JAS
  5         EJR       565       565       OEP
  </pre>
  
  <p>For the above data, this error occurs only for lines 3 and 5. For some reason, the filter skips col4 and takes the value from col5. For rest of the data the export works perfectly fine. Here is the xslt code ...</p>
  
  <pre><code>&lt;row&gt;
  &lt;col1&gt;&lt;xsl:value-of select="table:table-cell[1]"/&gt;&lt;/col1&gt;
  &lt;col2&gt;&lt;xsl:value-of select="table:table-cell[2]"/&gt;&lt;/col2&gt;
  &lt;col3&gt;&lt;xsl:value-of select="table:table-cell[3]"/&gt;&lt;/col3&gt;
  &lt;col4&gt;&lt;xsl:value-of select="table:table-cell[4]"/&gt;&lt;/col4&gt;
  &lt;col5&gt;&lt;xsl:value-of select="table:table-cell[5]"/&gt;&lt;/col5&gt;
  &lt;/row&gt;
  </code></pre>
  
  <p>Can someone please give any inputs on this ? It's pretty weird and I am badly stuck up due to this. Btw, I am using OpenOffice 3.1.1 (Build 9420) with xslt 2.0.</p>