Welcome Guest, you are in: Login

FLSmidth QCX wiki

RSSRSS





Search the wiki
 

Debugging XSLT using Visual Studio

RSS
Modified on 2021/06/18 07:46 by RSk Categorized as Uncategorized
Here is a short explanation how to debug XSLT code for the QCXv8 output tray. I am using Visual Studio Enterprise 2015 on my own laptop without a QCX system installed.

Open the XSLT file.

Image




When the XSLT file is opened, then open Properties in the menu View>Properties. In the Properties window specify the input file taken from QCXv8 system from an XSLT folder – and specify an output file.

Image




When the XSLT file is in focus, use the XML menu to run or debug the XSLT file.

Image

You will get a nice split-view where you can see what happens. On the left where in the XSLT code are we and on the right where in the original xml file are we working.

Image




Also on the right side the resulting xml code.

Image

Put breakpoints (F9) in different templates to see what happens and single step (F10) to see what happens "live".

Image

 
  Name Size
- image1.png 27.96 KB
- image2.png 87.56 KB
- image3.png 64.92 KB
- image4.png 93.51 KB
- image5.png 74.31 KB
- image6.png 78.40 KB

FLSmidth