def _read_template(template):
template = _read_content_or_path(template)<EOL>file_obj = StringIO.StringIO(template)<EOL>return ET.parse(file_obj)<EOL>
Read XSLT template.

Args:
    template (str): Filename or XML string. Don't use ``\\n`` in case of
                    filename.

Returns:
    obj: Required XML parsed with ``lxml.etree``.