Python/XML Reference Guide
Next:
3.2 ParserFactory methods
Up:
3. xml.sax.saxexts
Previous:
3. xml.sax.saxexts
3
.
1
ExtendedParser
methods
close
()
Called after the last call to feed, when there are no more data.
feed
(
data
)
Feeds
data
to the parser.
get_parser_name
()
Returns a single-word parser name.
get_parser_version
()
Returns the version of the imported parser, which may not be the one the driver was implemented for.
is_dtd_reading
()
True if the parser is non-validating, but conforms to the XML specification by reading the DTD.
is_validating
()
Returns true if the parser is validating, false otherwise.
reset
()
Makes the parser start parsing afresh.
Python/XML Reference Guide
Next:
3.2 ParserFactory methods
Up:
3. xml.sax.saxexts
Previous:
3. xml.sax.saxexts