def AbsoluteNode(node):
 if node.attributes:
  for (name, value) in node.attributes.items():
   if (name in ['InheritedPropertySheets', 'RelativePath', 'AdditionalIncludeDirectories', 'IntermediateDirectory', 'OutputDirectory', 'AdditionalLibraryDirectories']):
    path_list = value.split(';')
    new_list = FixFilenames(path_list, os.path.dirname(ARGUMENTS[1]))
    node.setAttribute(name, ';'.join(new_list))
   if (not value):
    node.removeAttribute(name)

def AbsoluteNode ( node ) : if node . attributes : for ( name , value ) in node . attributes . items ( ) : if ( name in [ 'InheritedPropertySheets' , 'RelativePath' , 'AdditionalIncludeDirectories' , 'IntermediateDirectory' , 'OutputDirectory' , 'AdditionalLibraryDirectories' ] ) : path_list = value . split ( ';' ) new_list = FixFilenames ( path_list , os . path . dirname ( ARGUMENTS [ 1 ] ) ) node . setAttribute ( name , ';' . join ( new_list ) ) if ( not value ) : node . removeAttribute ( name )
makes all the properties we know about in this node absolute .