def _make_xsl(filename):
    """Helper that creates a XSLT stylesheet """
    path = pkg_resources.resource_filename('rhaptos.cnxmlutils.xsl', filename)
    xml = etree.parse(path)
    return etree.XSLT(xml)