def METHOD_NAME(compNode):
    name = processString(compNode.attrib['name'])
    type = processString(compNode.attrib['type'])
    comp = sst.Component(name, type)
    # Process Parameters
    paramsNode = compNode.find("params")
    params = dict()
    if paramsNode != None:
        if "include" in paramsNode.attrib:
            for paramInc in paramsNode.attrib['include'].split(','):
                params.update(sstParams[processString(paramInc)])
        for p in paramsNode:
            params[getParamName(p)] = processString(p.text.strip())
    comp.addParams(params)
    # Process links
    for linkNode in compNode.findall("link"):
        linkName = processString(linkNode.attrib['name'])
        linkPort = processString(linkNode.attrib['port'])
        linkLat = processString(linkNode.attrib['latency'])
        link = getLink(linkName)
        comp.addLink(link, linkPort, linkLat)
    # Rank/Weight
    if "rank" in compNode.attrib:
        comp.setRank(int(compNode.attrib['rank']))
    if "weight" in compNode.attrib:
        comp.setWeight(float(compNode.attrib['rank']))