Transformation File | (File). Click Choose, select the XSL transformation file from your file system and click OK. When you virtualize an API, the transformation file is validated. If there are no validation errors, the XSLT file is displayed as a download link in the same dialog. If the transformation file is invalid (for example, non-XSLT file), this is indicated by a warning icon. Note: If you make changes to the XSLT file in the future, you must republish the API. Important: The XSL file uploaded by the user should not contain the XML declaration in it (for example, xml version=1.0 encoding="UTF-8"). This is because when the API is published to Mediator, Mediator embeds the XSL file in the virtual service definition (VSD), and since the VSD itself is in XML format, there cannot be an XML declaration line in the middle of it. This can lead to unexpected deployment issues which can be avoided by making sure the XSL file does not contain the declaration line. |