11 sub handle_start($$@) {
12 my ($expat, $element, @attrs) = @_;
17 if ($skipped < 2) { $skipped++ ; }
25 my ($expat,$element) = @_;
29 $element =~ s/(\w+):(\w+)/$1$2/;
30 my $query = "INSERT INTO $element VALUES ('$content','$uri');";
36 my ($expat,$char) = @_;
46 my $p = new XML::Parser(
48 { Start => \&handle_start,
50 Char => \&handle_char});
52 $p->parsefile($ARGV[0]);