code: def load_from_string(self, content, container, **opts):
          
          root = ET.fromstring(content)
          if anyconfig.compat.IS_PYTHON_3:
              stream = BytesIO(content)
          else:
              stream = anyconfig.compat.StringIO(content)
          nspaces = _namespaces_from_file(stream)
          return root_to_container(root, container=container,
                                   nspaces=nspaces, **opts)
docs: Load config from XML snippet (a string 'content').
  
          :param content:
              XML snippet string of str (python 2) or bytes (python 3) type
          :param container: callble to make a container object
          :param opts: optional keyword parameters passed to
  
          :return: Dict-like object holding config parameters