'Load a layer from an annotation set'

def _handle_lulayer_elt(self, elt):

    layer = self._load_xml_attributes(AttrDict(), elt)
    layer[u'_type'] = u'lulayer'
    layer[u'label'] = []
    for sub in elt:
        if sub.tag.endswith(u'label'):
            l = self._load_xml_attributes(AttrDict(), sub)
            if (l is not None):
                layer[u'label'].append(l)
    return layer
