def __parse_xml_metadata(xml_dic, xml_node):
 for child in xml_node.getchildren():
  if (child.get('Name') == 'cl.exe'):
   xml_dic['compiler_version'] = child.get('Version')
  elif (child.get('Name') == 'VisualStudio'):
   xml_dic['visual_studio_version'] = child.get('Version')
  elif (child.get('Name') == 'VisualStudioEdition'):
   xml_dic['visual_studio_edition'] = child.get('Value')
  elif (child.get('Name') == 'OperatingSystem'):
   xml_dic['target_os'] = child.get('Version')
  elif (child.get('Name') == 'Microsoft.Build.AppxPackage.dll'):
   xml_dic['appx_dll_version'] = child.get('Version')
  elif (child.get('Name') == 'ProjectGUID'):
   xml_dic['proj_guid'] = child.get('Value')
  elif (child.get('Name') == 'OptimizingToolset'):
   xml_dic['opti_tool'] = child.get('Value')
  elif (child.get('Name') == 'TargetRuntime'):
   xml_dic['target_run'] = child.get('Value')
 return xml_dic

def __parse_xml_metadata ( xml_dic , xml_node ) : for child in xml_node . getchildren ( ) : if ( child . get ( 'Name' ) == 'cl.exe' ) : xml_dic [ 'compiler_version' ] = child . get ( 'Version' ) elif ( child . get ( 'Name' ) == 'VisualStudio' ) : xml_dic [ 'visual_studio_version' ] = child . get ( 'Version' ) elif ( child . get ( 'Name' ) == 'VisualStudioEdition' ) : xml_dic [ 'visual_studio_edition' ] = child . get ( 'Value' ) elif ( child . get ( 'Name' ) == 'OperatingSystem' ) : xml_dic [ 'target_os' ] = child . get ( 'Version' ) elif ( child . get ( 'Name' ) == 'Microsoft.Build.AppxPackage.dll' ) : xml_dic [ 'appx_dll_version' ] = child . get ( 'Version' ) elif ( child . get ( 'Name' ) == 'ProjectGUID' ) : xml_dic [ 'proj_guid' ] = child . get ( 'Value' ) elif ( child . get ( 'Name' ) == 'OptimizingToolset' ) : xml_dic [ 'opti_tool' ] = child . get ( 'Value' ) elif ( child . get ( 'Name' ) == 'TargetRuntime' ) : xml_dic [ 'target_run' ] = child . get ( 'Value' ) return xml_dic
return the xml metadata .