Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best Lightweight HTML Parser for Delphi

I need to parse out the values from some data from select boxes.

Example: <option value="1">Apple</option><option value="2">Chicken</option>

Usage: If option = apple then get value.

Any suggestions?

like image 862
Bill Avatar asked Apr 29 '10 00:04

Bill


1 Answers

DIHtmlParser? I'm not sure how "lightweight" it is, but Ralf's components always seemed to be well put together. He's also normally active and response on Embarcadero's Forums.

If it's a one-off and not too complex, you could probably split on symbols manually.

like image 150
afrazier Avatar answered Sep 28 '22 01:09

afrazier