def GetQueryNodeText(node):
 return GetQueryNodeTextUnicode(node).encode('utf-8')

def GetQueryNodeText ( node ) : return GetQueryNodeTextUnicode ( node ) . encode ( 'utf-8' )
returns the text from the node .