parse an XML file from the filesystem or the network.

def htmlReadFile(filename, encoding, options):
    """parse an XML file from the filesystem or the network. """
    ret = libxml2mod.htmlReadFile(filename, encoding, options)
    if ret is None:raise treeError('htmlReadFile() failed')
    return xmlDoc(_obj=ret)