示例#1
0
def parse_xml(data, encoding="utf-8"):
    res = None
    try:
        res = et_parse_xml(data,encoding)
    except Exception,ex :
# Called from lots of places so log data here and then re raise.
        log.exception( ProxyClient.__module__, "parse_xml error %s", data )
        raise   # rethrow exception
示例#2
0
def parse_xml(data, encoding="utf-8"):
    return et_parse_xml(data,encoding)
示例#3
0
def parse_xml(data, encoding="utf-8"):
    return et_parse_xml(data,encoding)