get_node_text

sunpy.util.xml.get_node_text(node)[source] [edit on github]

scans through all children of node and gathers the text. if node has non-text child-nodes, then NotTextNodeError is raised.