<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _transform(xsl_filename, xml, **kwargs):
 """Transforms the xml using the specifiec xsl file."""

    xslt = _make_xsl(xsl_filename)
    xml = xslt(xml, **kwargs)
    return xml