Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added XSLT Transformations #247
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.