Features

XSLT 2.0 in IntelliJ IDEA 10.5

Did you know IntelliJ IDEA 10.5 supports XSLT 2.0? But it does!
Major new features are:

  • Support for XPath 2.0 syntax (e.g. if-then-else constructs, for-expressions and a lot more), completion for built-in XPath and XSLT functions
  • Complete support for XPath 2.0 built-in type system. Limited support for user-defined types
  • Complete support for XPath 2.0 and XSLT 2.0 built-in functions
  • Support for new XSLT 2.0 elements, such as custom extension functions (xsl:function)
  • New refactoring: Extract Function, turns an XPath expression into a call to a user-defined function

Some example screenshots:

Custom functions & parameter type validation

Completion for new XPath & XSLT functions

Completion for new XPath & XSLT functions

Running XSLT 2 stylesheets is of course possible as well. However this currently requires the presence of an XSLT 2.0 capable processor in the classpath, such as Saxon 9HE.

If the lacking tool-support stopped any users from using XSLT 2.0 yet, IntelliJ IDEA now enables the developer to use the far more powerful functions, type system and data model.

Develop XSLT with pleasure!

image description