def find_with_default(node, path, default):
 v = node.find(path)
 if (v is not None):
  return v.text
 else:
  return default

def find_with_default ( node , path , default ) : v = node . find ( path ) if ( v is not None ) : return v . text else : return default
look for a child of node using .