xml_readlines

astropy.utils.xml.iterparser.xml_readlines(source) [edit on github][source]

Get the lines from a given XML file. Correctly determines the encoding and always returns unicode.

Parameters :source : readable file-like object, read function or str path
Returns :lines : list of unicode

Page Contents