def getChild(elem, index):
    count = 0
    child = elem.firstChild
    while child:
        next = child.nextSibling
        if child.nodeType == 1:
            if index == count:
                return child
            count += 1
        child = next
    return None
Add the data points for Component/Indices
dataset/ETHPy150Open anandology/pyjamas/library/gwt/DOM.py/getChild--crossover with--dataset/ETHPy150Open MeetMe/newrelic-plugin-agent/newrelic_plugin_agent/plugins/elasticsearch.py/ElasticSearch.add_index_datapoints