def GetChildNodeText(node, child_tag, default=''):
 for child in node.getchildren():
  if (GetTag(child) == child_tag):
   return (child.text or default)
 return default

def GetChildNodeText ( node , child_tag , default = '' ) : for child in node . getchildren ( ) : if ( GetTag ( child ) == child_tag ) : return ( child . text or default ) return default
finds child xml node with desired tag and returns its text .