Function
xml.dom.expatbuilder.parse

Signature

parse(file, namespaces=1)

Documentation String

Parse a document, returning the resulting Document node.

file may be either a file name or an open file object.