Azure Logic Apps - XSLT with parameters
This template creates a request-response Logic App which performs XSLT based transformation. The XSLT map takes primitives (integer, string etc.) as input parameters as uses them during XML transformation.
Deployment steps
You can click the "Deploy to Azure" button at the beginning of this document or follow the instructions for command line deployment using the scripts in the root of this repo.
Usage
Once the deployment is completed, you can perform below steps to test your Logic App:
- Open the Logic App in the designer to get the HTTP Request endpoint url. 
- (Optional) Modify the values for parameters X and Y in the Transform XML action. 
- Perform HTTP POST operation on the http endpoint obtained from #1 using your favorite HTTP client.
- Set content-type header to application/xml.
- Set request body to the content of sample-input.xml (it is present under artifacts folder in this template).
- On successful execution, the logic app will respond with the transformed message in response body. 
Notes
Learn more about: Azure Logic Apps
- Azure Logic Apps - https://azure.microsoft.com/documentation/articles/app-service-logic-what-are-logic-apps/
- Logic Apps Enterprise Integration Pack - https://blogs.msdn.microsoft.com/logicapps/2016/06/30/public-preview-of-logic-apps-enteprise-integration-pack/
- XML Processing capabilities in Logic Apps - https://azure.microsoft.com/documentation/articles/app-service-logic-enterprise-integration-xml/
Tags: Logic Apps, Enterprise Integration, XSLT, XML Transform, Microsoft.Logic/integrationAccounts, Microsoft.Logic/integrationAccounts/maps, Microsoft.Logic/workflows, Response, Request