Version 5.9.2

# `HTML`

since version 5.1.17

Create HTML output

## Child elements

HTML elements

## Parent elements

`Case`, `ForAll`, `Loop`, `Otherwise`, `Output`, `Textblock`, `Until`, `While`

## Attributes

`expand-text` (yes or no, optional)
  If set to “yes”, expressions in curly braces {expr} within the HTML content are evaluated as XPath expressions (similar to XSLT 3.0 text value templates). Use {{ and }} for literal curly braces. Default is “no”.
`select` (XPath expression, optional)
  The HTML selection

## Example

    <Output>
      <HTML select="html" />
    </Output>

Inline HTML with XPath expansion:

    <Output>
      <HTML expand-text="yes">
        <p>Article <b>{@nr}</b> costs {$price} Euro.</p>
      </HTML>
    </Output>

#### On this page