Skip to content

mariuso/xslt-vscode-baseproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XSLT Transformation base project

This is a base project for XSLT transformations in Visual Studio Code.

Requirements:

Installation of XSLT processor

Installation Guide

Windows

  • Install Visual Studio Code
  • Add XSLT/XPath for Visual Studio Code extenstion

Java

  • Follow the Windows MSI-installer

Saxon

  • Unzip the Saxon HE file
  • Move the files to a fitting location
    • C:\Program Files\Saxon\
  • Open Visual Studio Code Settings -> search "@ext:deltaxml.xslt-xpath"
  • Update the Saxon HE Jar (Path of the installed Saxon jar file)
    • i.e. C:\Program Files\Saxon\saxon-he-10.6.jar

XSLT processing

.vscode/tasks.json

This file contains the settings for the

Running XSLT processor

(Shortcut cmd + shift + b / ctrl + shift + b)

  • Open XSLT file you want use
  • Open tasks
    • (cmd + P / ctrl + P) - To open command palette
    • Select: "Tasks - Run task"
  • Run task: "xslt: Saxon Transform (New)"

You will be prompted to input the filename you want to run. Default set to "testfiles/original.xml"

Default XML filename

You can customize the default filename and location by changing the inputs.default in .vscode/tasks.json

About

Base project for XSLT development in VS Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages