Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Jtidy parse html table

  • 21-04-2006 2:46am
    #1
    Registered Users, Registered Users 2 Posts: 1,559 ✭✭✭


    How do I go about getting Jtidy to parse a html table?


Comments

  • Closed Accounts Posts: 261 ✭✭bishopLEN


    quinnd6 wrote:
    How do I go about getting Jtidy to parse a html table?
    Hi,
    I got JTidy to run just now. Have you it parsing any html ?
    I just saved the google home page for a test, it came up with 10 warnings:

    line 1 column 101 - Warning: <style> lacks "type" attribute
    line 7 column 1 - Warning: <script> lacks "type" attribute
    line 13 column 131 - Warning: <table> lacks "summary" attribute
    line 13 column 464 - Warning: trimming empty <b>
    line 14 column 29 - Warning: <script> lacks "type" attribute
    line 17 column 10 - Warning: <table> lacks "summary" attribute
    line 17 column 152 - Warning: unescaped & or unknown entity "&tab"
    line 17 column 280 - Warning: unescaped & or unknown entity "&tab"
    line 17 column 406 - Warning: unescaped & or unknown entity "&tab"
    line 17 column 641 - Warning: <table> lacks "summary" attribute

    The webpage has tables so I hope this helps, I will presume you have not got the program working if that's ok.

    I stuck the JTidy folder somewhere close to root eg. C:\Temp\
    I put the html Test there too (with the google page source)
    Went to the command prompt and ran

    java -jar C:\temp\jtidy\build\Tidy.jar C:\temp\jtidy\Test.htm

    Notice the spaces etc.

    That's about it !


Advertisement