def _get(node, nodeId, nodeAttrs=('id','class','model','pattern')):

    if hasattr(node, 'hasAttributes') and node.hasAttributes():
        for nodeAttr in nodeAttrs:
            if (str (node.getAttribute(nodeAttr)) == nodeId):
                return node
    if node.hasChildNodes():
        if hasattr(node.childNodes, 'length'):
            length = node.childNodes.length
        else:
            length = len(node.childNodes)
        for childNum in range(length):
            result = _get(node.childNodes[childNum], nodeId)
            if result: return result
Normal methods (get, post, etc) should be used when handling non-ajax
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/domhelpers.py/_get--crossover with--dataset/ETHPy150Open brack3t/django-braces/tests/test_ajax_mixins.py/TestAjaxResponseMixin.test_not_xhr