Features
The extension's features at a glance, grouped by task. Each one links to the part of this guide that describes it.
XSLT and XPath languages
- XSLT 3.0 and XPath 3.1
- XSLT 4.0 and XPath 4.0, as implemented in Saxon 13
- Advanced XSLT 3.0 package features
- SaxonJS interactive extensions (IXSL)
- Fast semantic highlighting, from a full XPath parser
- XML editing, formatting and navigation
XSLT 4.0
- Record and enum types, with type-aware checks
- Named item types:
xsl:item-type xsl:switch, with quick fixes for missing cases- Keyword arguments and optional parameters
- Functions in no namespace
- Path expressions on JSON (JNodes)
Editing
- Context-aware auto-completion, including node names from the XML context file
- Signature help and hover help
- Snippets, including new stylesheets for 3.0 and 4.0
- Formatting of instructions and multi-line XPath
- Rename symbol, across imported modules
- Code actions for quick fixes and refactoring
Linter
- XPath syntax and XSLT instructions, checked as you type
- Types, records, enums and function arguments
- Unused XSLT and XPath variables or parameters
- References across imported modules
- Saxon errors from runs, in the Problems view
- Quick fixes for common problems
- MCP server for AI assistants (experimental)
Navigation
- Go to (or peek) definition, and find references
- Call hierarchy of functions and templates
- Go to the declarations of record fields
- Outline, breadcrumbs and Go to Symbol
- Links for
xsl:importandxsl:include - XSLT Imports view, with inferred top-level stylesheets
- Find nodes with XPath in XML files
Refactoring
- Safe symbol renaming
- Extract
xsl:functionorxsl:template - Extract
xsl:variablefrom an XPath expression - Extract a record type from a map
- Wrap with... an instruction (⌥⇧W / Alt+Shift+W)
- Add a documentation note
Running XSLT
- Quick Run (⌘⌥R / Ctrl+Alt+R)
- Tasks for SaxonJ, SaxonJS and SaxonC
- Required
xsl:paramvalues asked for when a task runs xsl:paramvalues controlled by tasks- XML catalogs for
xsl:importURIs - XSLT Packages - no configuration needed
- File pickers for task inputs
- Java extension functions
Debugging
- Step-through XSLT debugger (SaxonJ, any edition)
- Stepping through multi-line XPath
- Conditional breakpoints and hit counts
- Logpoints, with formatted and colored values
- Views of the locals, globals, context and output
- Watch expressions, hovers and the Debug Console
- The output so far, mapped back to the XSLT that wrote it
- Formatted and colored print debugging
Testing with XSpec
- Test Explorer for running tests and comparing output
- Debug tests in the XSpec file or from the XSLT source
- Run Schematron tests, compiled with SchXslt2
- Generate tests for a function or template
- Edit XSpec with checks, quick-fixes, auto-completion
- Test coverage percentages and line margin highlights
- Navigate between tests and the underlying code
- Checks and assistance for component calls
Code documentation
xsl:notewith Markdown and xqDoc-style tags- Shown in hover and signature help
@seereferences, with navigation and rename- Checks of
@paramand@fieldtags - Module notes for stylesheets
- Highlighting and auto-completion for tags and references