예제 #1
0
파일: primitive.py 프로젝트: ridha/soaplib
    def from_xml(cls, element):
        children = element.getchildren()
        if children:
            ret = etree_to_dict(element)
            return ret

        return None
예제 #2
0
    def from_xml(cls, element, serializers=None):
        children = element.getchildren()
        if children:
            return etree_to_dict(element)

        return None