>> >i'm looking for any freely distributable code or any libraries i can use
>> >to interpret HTML documents. Ideally, something where i can pass
>> >the HTML as input, and have the code generate the output without me
>> What code ? HTML *is* the code.
>what i mean is:
>suppose i have a HTML document. i want some C/C++ code that's able to
>interpret the HTML code and give me some nice output, kinda like what a web
>browser does. But......i'm writing a little program....and i need it to be
>able to interpret HTML docs.....so....is there any C/C++ libraries or
>something that i can use?
Some nice output as ... what ... graphics, text, PDF, PS, FAX, ...
Since the HTML grammer is not that complicated writing a lexer / parser
combo is going to be the easy task, but after that you are in big trouble.
Now there is the w3c lib, although I am not sure right now regarding its
licence (!!) or take a look at some simple browser like links. It is a text
browser and very handy to view HTML text on a text terminal.
For Java there was a HTML applet already at the time I last bothered about
Java; commercial IIRC. It really depends on what kind of output device you're
having in mind; HTML itself is childs play compared to that.
A real mini browser is XmHTML, a Motif Widget to view, well, HTML documents,
e.g. for a builtin help function.
\ Real name : Jrgen Heinzl \ no flames /