@staticmethod
def text(pnode):
    """ extracts the value stored in the node """
    rc = []
    for node in pnode.childNodes:
        if node.nodeType == node.TEXT_NODE:
            rc.append(str(node.data).strip())
    return ''.join(rc)
