Exemple #1
0
def parseFile(filename, html=0, htmlencoding=None, unfinished=0, impl=None):
    return libxml2dom.parseFile(filename, html=html, htmlencoding=htmlencoding, unfinished=unfinished, impl=(impl or default_impl))
Exemple #2
0
Fichier : svg.py Projet : kp7/plan
def parseFile(filename, html=0, htmlencoding=None, unfinished=0, impl=None):
    doc = libxml2dom.parseFile(filename, html=html, htmlencoding=htmlencoding, unfinished=unfinished, impl=(impl or default_impl))
    initialiseEvents(doc)
    return doc