Edit online

Oxygen XML Editor offers built-in support for XSLT 3.0 Text Value Templates, including content completion to present the variables, functions, and parameters from the current context and syntax highlighting.

A text node in the stylesheet is treated as a text value template if the following things are true:
  • It is part of a sequence constructor or a child of an <xsl:text> instruction.
  • There is an ancestor element with an @[xsl:]expand-text attribute and on the innermost ancestor element that has such an attribute, the value of the attribute is yes.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

  <xsl:param name="seq" as="xs:string*" select="'c', 'a', 'b', 'z'"/>
  <xsl:template name="main">

For more information, see: W3C XSLT Specifications: Text Value Templates.