New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added XSLT Transformations #247

wants to merge 3 commits into
base: master


2 participants
Copy link

szul commented Dec 12, 2018

Addresses #93 to a certain extent.

I was in the process of building my own extension for XSLT transformations, but thought it would be better to contribute to this extension.

When inside an XML file, you can pull up the command palette, and search for "XML Tools: Run XSLT Transformation" (or just "Run XSLT Transformation"). It will open a dialog window to select an XSLT file. Once selected it will transform the XML, open the results to the right, and then open a web view to the right of that, trying to display a rendered version.

The VSCode version had to be updated in order to use the web view control and the "BESIDE" enum for positioning of the opened window.

Two things I'd like to eventually see added: 1.) a setting for whether or not to open the web view; 2.) have the XSLT selection in the command palette rather than an open dialog.


This comment has been minimized.

Copy link

DotJoshJohnson commented Dec 14, 2018

Nice! I'm just now jumping back in to this project after a few months away, but I look forward to seeing this in an upcoming release. Thank you!


This comment has been minimized.

Copy link

szul commented Dec 14, 2018

Still some work to refine it, but its a good start. The xslt-processor modules does all the heavily lifting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment