parameters: (currentNode, label)
return_statement: return ""
docstring: r"""
      Only get the text info for the matching label at this level of the tree
docstring_summary: r"""
      Only get the text info for the matching label at this level of the tree
docstring_tokens: r Only get the text info for the matching label at this level of the tree
function: def getThisNodesInfoAsText(currentNode, label):
      r"""
      Only get the text info for the matching label at this level of the tree
      """
      labelNodeList = [node for node in
      currentNode.childNodes if node.nodeName == label]
  
      if len(labelNodeList) > 0:
          labelNode = labelNodeList[0]  # Only get the first one
          return getTextValuesFromNode(labelNode.childNodes)
      return ""
function_tokens: def getThisNodesInfoAsText ( currentNode , label ) : labelNodeList = [ node for node in currentNode . childNodes if node . nodeName == label ] if len ( labelNodeList ) > 0 : labelNode = labelNodeList [ 0 ] # Only get the first one return getTextValuesFromNode ( labelNode . childNodes ) return ""