astropy.utils
astropy.utils.xml.iterparser.
xml_readlines
Get the lines from a given XML file. Correctly determines the encoding and always returns unicode.