-
Notifications
You must be signed in to change notification settings - Fork 4
XSLT Tasks
XSLT files located within a VSCode Workspace can be compiled and run using the Saxon XSLT processor for Java from Saxonica
Any compile-time or run-time errors/warnings are shown in the VSCode Problems panel (Saxon 10.0 or later). Select an item in the Problems panel, to see the problem highlighted in the XSLT.
Saxon 9.9 or later must be installed on the local machine. By default, the location of the Saxon Jar should be set in User Settings for the XPath Embedded extension. This location can however be overriden by modifying the tasks.json file (see below).
XSLT is compiled and run through a VSCode Custom Task provided by the extension.
VSCode Task commands can be used to create tasks, modify tasks and run task.
Each task can be configured to set options and XSLT parameters for an XSLT Transform. VSCode Variables like ${workspaceFolder} can be used within properties in a task configuration.