1 (** Wrapper around Perl [HTML::Parser] class.
3 * Copyright (C) 2003 Merjis Ltd.
5 * $Id: pl_HTML_Parser.ml,v 1.4 2004-11-23 13:40:50 rich Exp $
10 let _ = eval "use HTML::Parser"
12 class html_parser sv =
16 method parse_file filename =
17 call_method_void sv "parse_file" [sv_of_string filename]
18 method parse content =
19 call_method_void sv "parse" [sv_of_string content]
21 call_method_void sv "eof" []
23 call_method_void sv "delete" []