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!

This entry was posted in New Features and tagged , . Bookmark the permalink.

One Response to XSLT 2.0 in IntelliJ IDEA 10.5

  1. David Gadbois says:

    I’ve been using the XSLT 2.0 support a lot. It makes doing large stylesheets feasbible. Thanks!

    What’s up with XPath 2.0 support in Find By XPath? Is there any way to get it to work?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">