How to Parse an HTML file in Java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Baljeet Singh
    New Member
    • Sep 2006
    • 2

    How to Parse an HTML file in Java

    hi,
    I am Baljeet Singh, and i have recently started codng in java. I want to parse an given HTML file in Java for finding HTML elements by Name, tagID, get root element, find siblings etc.

    could anybody help me out ? I 'll be very thankful to him.

    thanks

    with regards
    Baljeet Singh
  • khoapkl
    New Member
    • Sep 2006
    • 2

    #2
    Originally posted by Baljeet Singh
    hi,
    I am Baljeet Singh, and i have recently started codng in java. I want to parse an given HTML file in Java for finding HTML elements by Name, tagID, get root element, find siblings etc.

    could anybody help me out ? I 'll be very thankful to him.

    thanks

    with regards
    Baljeet Singh
    Using Java Servlet.

    Comment

    • Subrahmanyam
      New Member
      • Sep 2006
      • 5

      #3
      Try the ECS API from Apache. You might find a solution to your problem.

      Comment

      Working...