def METHOD_NAME(self, nodename, attributes=None):
    node = self.get_optional_child("entry", {"id": nodename})
    schemanode = self.get_optional_child("schema", root=node, attributes=attributes)
    if schemanode is not None:
        logger.debug("Found schema for {}".format(nodename))
        return self.get_resolved_value(self.text(schemanode))
    return None