code: def fromstring(cls, root_name, data):
          
          try:
              return cls(root_name, cElementTree.fromstring(data))
          except _ETREE_EXCEPTIONS as error:
              raise InvalidXMLError(
                  '"{}" XML is not parsable. Message: {}'.format(
                      root_name, error.message
                  )
              )
docs: Initialize S3Element from name and XML string data.
  
          :param name: Name for XML data. Used in XML errors.
          :param data: string data to be parsed.
          :return: Returns an S3Element.