HTML

Insert HTML content, either inline or retrieved via an XPath expression.

Child elements

(none)

Parent elements

A, B, Case, ForAll, I, Li, Loop, Otherwise, Paragraph, PlaceObject, Span, Td, TextBlock, U, 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 expressions, optional)
XPath expression that yields an XML/HTML fragment.

Example

<Record match="data">
  <PlaceObject>
    <TextBlock>
      <HTML select="/data/htmlcontent"/>
    </TextBlock>
  </PlaceObject>
</Record>
<SetVariable variable="product" select="'Widget'"/>
<PlaceObject>
  <TextBlock>
    <HTML expand-text="yes">
      <p>Product: {$product}</p>
      <p>Literal braces: {{ and }}</p>
    </HTML>
  </TextBlock>
</PlaceObject>

See also