March 2003
Intermediate to advanced
656 pages
39h 30m
English
parse
parse(file,parser=None)
file is a filename or a file-like object
open for reading, containing an XML document.
parser, if given, is an instance of a SAX
parser class; otherwise, parse generates a default
SAX parser by calling xml.sax.make_parser( ).
parse returns a minidom
document object instance representing the given XML document.