#NEWLINE# def parseString( inString ) : #NEWLINE# #INDENT# from mixbox.vendor.six import StringIO #NEWLINE# doc = parsexml_ ( StringIO ( inString ) ) #NEWLINE# rootNode = doc . getroot ( ) #NEWLINE# ( rootTag , rootClass ) = get_root_tag ( rootNode ) #NEWLINE# if ( rootClass is None ) : #NEWLINE# #INDENT# rootTag = 'Unix_User_Account' #NEWLINE# rootClass = UnixUserAccountObjectType #NEWLINE# #UNINDENT# rootObj = rootClass . factory ( ) #NEWLINE# rootObj . build ( rootNode ) #NEWLINE# doc = None #NEWLINE# return rootObj