def gen_child_nodes(dx_nodes, dx_node):
    """
    Generator for all child dx_nodes of dx_node that are part of dx_nodes

    :param dx_nodes: [DiffxNode, ... ]
    :param dx_node: DiffxNode
    """
    for _dx_node in dx_nodes[dx_nodes.index(dx_node):]:
        if _dx_node.xpath.find(dx_node.xpath) == 0:
            yield _dx_node
