[antlr-interest] HTML grammar
Anakreon
anakreonmejdi at yahoo.gr
Thu Dec 2 13:28:08 PST 2004
kevinwittme7 wrote:
>
>
> Hello all,
>
> I was wondering if anyone knows of a HTML grammar for ANTLR that is
> freely available. I found one HTML grammar on ANTLR resource page
> and played around with it ( http://www.antlr.org/grammar/HTML ).
> Unfortunately, it has trouble on the HTML pages that I am parsing
> against. These pages are written rather poorly and I don't have any
> control over how valid or well-formed the mark-up is.
>
> If anyone knows of HTML grammars for ANTLR (again, other than what
> is listed as part of ANTLR resources), please let me/us know.
>
> Thanks!
>
> Kevin in Chicago
You could use jtidy (http://jtidy.sourceforge.net/) which provides a DOM
interface.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list