Is current release of boost 1.49.0 have any library, to parse html/xml documents. I know that pTree could be used for xml parsing but I am looking for sth more complete. Thanks.
Asked
Active
Viewed 3,285 times
1 Answers
0
Boost::Spirit it's that you looking for.

sruu
- 1
-
3No, it’s not. Building your own XML parser, let alone a fault-tolerant HTML parser, is far from trivial (one word: encoding!). – Konrad Rudolph Jun 19 '12 at 08:21
-
I agree it isn't trivial, but that library make it possible (Spirit.Qi let you deal with encoding) – sruu Jun 19 '12 at 08:32
-
2You *fundamentally* underestimate the required effort. Notably, Spirit.Qi won’t help you deal with the encoding issue, since you first need to *recognise* the used encoding. – Konrad Rudolph Jun 19 '12 at 08:34
-
I could not found any example on the web could you please give some example parsing html or xml with boost::spirit – AMCoded Jun 19 '12 at 10:26
-