After you have developed your map, one of the next steps is to test it. This topic provides step-by-step instructions for testing maps including steps to view the XSLT generated by the map compiler.
-
In Solution Explorer, right-click the map you want to test, and then click Test Map.
-
Verify the results in the Output window.
Important |
|---|
|
It is recommended that you configure the input and output instance properties on the map Property Pages before you test a map.
|
It is often useful to inspect the XSLT generated by the map compiler. Some of the benefits of inspecting XSLT include:
-
If you are using looping or custom functoids, you will better understand how the looping is performed and how the custom functoid is invoked.
-
If you have a complicated map, reviewing the XSLT will enable you to see how the map is translated into a transform and may give you insight on how to better structure, replace, or streamline one or more parts.
-
If you are using custom scripts or other artifacts, reviewing the XSLT will enable you to see how the scripts, artifacts and other parts of the map interact.
In other words, reviewing the XSLT is a great way to debug a map.
To view the XSLT generated by the map compiler
-
From a Visual Studio BizTalk project, click the Solution Explorer tab, right-click a map, and then click Validate Map.
-
Scroll the Output window to find the URL for the XSL file. Press CTRL and click the URL to view the file.
Note |
|---|
|
Changes made to the XSL file will not be reflected in the map and will be overwritten on the next build.
|
Tasks
How to Configure Map Validation and Test Parameters
How to Validate Maps