def xinclude_loader(href, parse="xml", encoding=None):
    try:
        data = XINCLUDE[href]
    except __HOLE__:
        raise IOError("resource not found")
    if parse == "xml":
        from xml.etree.ElementTree import XML
        return XML(data)
    return data
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_xml_etree.py/xinclude_loader