docs: def fromString(strdata):
          """
          Generates profile data from the inputed string data.
          
          :param      strdata | <str>
          
          :return     <XViewProfile>
          """
          if strdata:
              try:
                  xprofile = ElementTree.fromstring(nativestring(strdata))
              except ExpatError, err:
                  logger.exception(str(err))
                  return XViewProfile()
              
              return XViewProfile.fromXml(xprofile)
          
          logger.warning('Blank profile data provided.')
          return XViewProfile()