1 (* Wrapper around Perl HTML::Parser class.
2 * Copyright (C) 2003 Merjis Ltd.
3 * $Id: pl_HTML_Parser.ml,v 1.2 2003-10-15 16:51:12 rich Exp $
8 let _ = eval "use HTML::Parser"
10 class html_parser sv =
14 method parse_file filename =
15 call_method_void sv "parse_file" [sv_of_string filename]
16 method parse content =
17 call_method_void sv "parse" [sv_of_string content]
19 call_method_void sv "eof" []
21 call_method_void sv "delete" []