1

We have some BizTalk-style maps - BTM files. In order to generate XSLT from a BTM, we can simply do this in visual studio:

enter image description here

How do we perform this same functionality within the Azure DevOps release pipeline?

Dijkgraaf
  • 11,049
  • 17
  • 42
  • 54
Alex Gordon
  • 57,446
  • 287
  • 670
  • 1,062
  • I donot think it can be done from azure devops pipeline. If you need the xslt file in your pipeline, you can firstly generate it from visual studio, and then push it to your repo. so that the xslt file will be available in your pipeline. – Levi Lu-MSFT Feb 06 '20 at 16:19
  • Why do you need to do this? If you explain that maybe we can solve your actual problem. The XSLT will be in the compiled DLL for the maps project (or whichever project it is in). I know this as I've had to use a de-compiler tool to recover the source code for a map. – Dijkgraaf Feb 06 '20 at 19:09
  • If we start with a BTM file and source control and we need that compiled to an XsLT how do we do that? I need the XsLT for the release. – Alex Gordon Feb 06 '20 at 19:53
  • How does a dll get created? I have not seen this. – Alex Gordon Feb 06 '20 at 19:54
  • @Dijkgraaf please respond – Alex Gordon Feb 16 '20 at 03:49
  • The DLL gets created when you build the solution – Dijkgraaf Feb 16 '20 at 06:55
  • Is that your hypothesis or experience? What kind of dll is going to be generated from an azure resource group project? – Alex Gordon Feb 16 '20 at 11:52
  • That is from experience. – Dijkgraaf Feb 26 '20 at 00:50

1 Answers1

1

Your BizTalk Application Build pipeline should get the source of the project and the BTM files and compile it and create the DLLs. So unless you are doing some custom XSLT, you do not need to have the XSLT separately.

If you are doing custom XSLT you can do the steps you have outlined in your question to generate the initial XSLT, copy the resulting XSTL into your project folder and add it to the project, you then click on the map grid and change the Custom XSLT Path to point to the XSLT. You can then customise the XSLT and check it in as normal.

Note: Making changes to the map grid after this point will have no impact on the map execution, so I usually make it obvious that custom XSLT is being used by removing all links from the map.

Note2: You are limited to using XSLT 1.0 for the custom XSLT unless you are using BizTalk 2020 where you have the option to use either the Saxon 9 HE for XSLT or any other XSLT Transform Engine. XSLT Transform Engine (Grid Property)

Dijkgraaf
  • 11,049
  • 17
  • 42
  • 54
  • we have azure devops, we dont have biztalk application build pipeline – Alex Gordon Feb 25 '20 at 22:26
  • @l--''''''---------'''''''''''' Azure Devops will also compile and create DLLs as that is what gets deployed. You still have not explained why you need the XSLT, so we can't really help you unless you tell us what you are trying to achieve, rather than a step you think you need – Dijkgraaf Feb 26 '20 at 00:47
  • sorry about that i just totally realized that my question makes no sense at all – Alex Gordon Feb 26 '20 at 00:52