readlif.utilities module

readlif.utilities.get_xml(filename)

Given a lif file, returns two values (xml_root, xml_header) where xml_root is an ElementTree root, and xml_header is the text.

This is useful for debugging.

Some private functions are used from readlif.reader.

Parameters:filename (string) – what file to open?