@classmethod
def _get_xml_child_by_names(cls, node, names):
    """ Get the child of an XML element with a prefix and name

        Args:
            node (:obj:`libsbml.XMLNode`): XML node
            names (:obj:`list` of :obj:`XmlName`): names

        Returns:
            :obj:`libsbml.XMLNode`: child with prefix and name
        """
    for name in names:
        if not node:
            break
        node = cls._get_xml_child_by_name(node, name)
    return node
