'Converts a container XML node to a container instance
:param node: XML info of the container
:type node: :class:`xml.etree.ElementTree.Element`
:return: A container instance
:rtype: :class:`Container`'

def _xml_to_container(self, node):

    name = node.findtext(fixxpath(xpath='Name'))
    props = node.find(fixxpath(xpath='Properties'))
    metadata = node.find(fixxpath(xpath='Metadata'))
    extra = {'url': node.findtext(fixxpath(xpath='Url')), 'last_modified': node.findtext(fixxpath(xpath='Last-Modified')), 'etag': props.findtext(fixxpath(xpath='Etag')), 'lease': {'status': props.findtext(fixxpath(xpath='LeaseStatus')), 'state': props.findtext(fixxpath(xpath='LeaseState')), 'duration': props.findtext(fixxpath(xpath='LeaseDuration'))}, 'meta_data': {}}
    for meta in metadata.getchildren():
        extra['meta_data'][meta.tag] = meta.text
    return Container(name=name, extra=extra, driver=self)
