docs: def node_text(node):
      """Needed for things like abstracts which have internal tags (see PMID:27822475)"""
  
      if node.text:
          result = node.text
      else:
          result = ""
      for child in node:
          if child.tail is not None:
              result += child.tail
      return result