Need Help - How to handle the unclosed TR tag

Help
sankar
2008-05-22
2013-04-15
  • sankar

    sankar - 2008-05-22

    Hi,
       In my project, i want to convert the html table into csv file. Everything is fine .. But if TR tag is not closed properly . result not came properly.

    Plz give idea to handle it.

    If the table like this..

    <table>
    <tr><td>Col1</td><td>Col2</td></tr>
    <tr>
    <tr><td>1</td><td>2</td></tr>
    <tr>
    <tr><td>3</td><td>4</td></tr>
    </table>

    CSV File look like this.

    Col1,Col2
    ,,,,
    1,2
    ,,
    3,4

     
    • doibuon

      doibuon - 2008-07-16

      Parser will close TR tag, convert HTML to welform. Try newest verion HTMLParser2_Build 7.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks