Lines Matching defs:parser
22 sub parser {
68 foreach my $parser (reverse @{$self->{KnownParsers}}) {
70 if (!exists $parser->{Features}{$feature}) {
75 return $parser->{Name};
95 foreach my $parser (reverse @{$self->{KnownParsers}}) {
97 if (!exists $parser->{Features}{$feature}) {
101 return $parser->{Name};
122 XML::SAX::ParserFactory - Obtain a SAX parser
129 my $p = XML::SAX::ParserFactory->parser(Handler => $handler);
136 with a Perl SAX2 XML parser. It is akin to DBI - a front end for other
137 parser classes. Each new SAX2 parser installed will register itself
139 that use XML::SAX::ParserFactory to obtain a SAX parser.
143 specifying the parser you want in the call to C<parser()>, XML::SAX
144 has several ways to automatically choose which parser to use:
163 may wish for a parser that supports validation via a DTD. To do that,
169 my $parser = $factory->parser(...);
181 user might not have a validating parser installed), then an
185 always return the last installed parser that supports all of your
204 Where MyParserModule is the module to load and use for the parser,
215 If none of the above works, the last parser installed on the user's
217 XML parser, XML::SAX::PurePerl, so that there will always be a
218 fallback parser.