#NEWLINE# def parse( inFileName ) : #NEWLINE# #INDENT# doc = parsexml_ ( rootObj ) #NEWLINE# rootNode = doc . getroot ( ) #NEWLINE# ( rootTag , rootClass ) = get_root_tag ( rootNode ) #NEWLINE# if ( rootClass is None ) : #NEWLINE# #INDENT# rootTag = 'Windows_System_Restore_Entry' #NEWLINE# rootClass = WindowsSystemRestoreObjectType #NEWLINE# #UNINDENT# rootObj = rootClass . factory ( ) #NEWLINE# rootObj . build ( rootNode ) #NEWLINE# doc = None #NEWLINE# return rootObj