Skip to content

XSLT Tasks

Phil Fearon edited this page Apr 6, 2020 · 29 revisions

XSLT files located within a VSCode Workspace can be compiled and run using the Saxon XSLT processor for Java from Saxonica

Problems Panel

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 Configuration

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 Transform Tasks

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.

SaxonJar Configuration

Clone this wiki locally