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