Skip to content

2022 to 2023 XSLT Feature Highlights

Phil Fearon edited this page Mar 11, 2023 · 1 revision

Language

  • XSLT 4.0 (proposed) support updated to align with Saxon 12
  • Special support for parse-html() function

Editing

  • Locking source XML file for auto-completion

  • Improved auto-completion for source XML elements/attributes

  • Auto-completion

    • triggering is now more targeted
    • support for XML comments, CData-sections and processing-instructions
    • xsl:try and xsl:choose snippets
    • XSLT 4.0 switch snippet
  • Improved syntax highlighting

    • Map lookup names
    • Map keys
    • Wild-card operator for name-tests: @*:class

Refactoring

  • Extract function
  • Extract template
  • Extract variable
  • Rename symbol

Debugging

  • Support for ext:print() function inside <xsl:message> instructions

Navigation

  • Selection of any part of an attribute triggers symbol-selection
  • Find all references
  • Goto defintion
  • Goto XPath

Linter

  • Reports 'missing context' problems inside XSLT functions
  • XSLT instruction attribute values now validated

Running XSLT

  • New SaxonJS task properties
  • New 'QuickPick file' commands available for variable substitution in XSLT tasks
    • Source XML
    • XSLT
    • Result File