get_node_text#
- sunpy.util.xml.get_node_text(node)[source]#
Scans through all children of
Elementnode and gathers the text.If node has non-text child-nodes, then
NotTextNodeErroris raised.- Parameters:
node (
xml.etree.ElementTree.Element) – A XML element node.- Returns: