Welcome
Guest
, you are in:
<root>
•
Login
FLSmidth QCX wiki
Main Page
Random Page
Create a new Page
All Pages
Categories
Navigation Paths
Administration
File Management
Word Import
Create Account
Search the wiki
Back
Debugging XSLT using Visual Studio
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||{UP(Debugging-XSLT-using-Visual-Studio)}image1.png] {BR} 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||{UP(Debugging-XSLT-using-Visual-Studio)}image2.png] {BR} When the XSLT file is in focus, use the XML menu to run or debug the XSLT file. [image||{UP(Debugging-XSLT-using-Visual-Studio)}image3.png] 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||{UP(Debugging-XSLT-using-Visual-Studio)}image4.png] {BR} Also on the right side the resulting xml code. [image||{UP(Debugging-XSLT-using-Visual-Studio)}image5.png] Put breakpoints (F9) in different templates to see what happens and single step (F10) to see what happens "live". [image||{UP(Debugging-XSLT-using-Visual-Studio)}image6.png]
Meta Keywords:
Meta Description:
Change Comment:
FLSmidth