Creates an XSL template from XML