step

Contains the definition of one step in the macro represented by this element's parent element. Currently, only one such step is allowed, and it always defines a sequence of characters to be inserted. It may also optionally define an in-line XHTML element in which the inserted characters are to be wrapped, and a class attribute value to be assigned to the wrapping element.

Syntax
<step
    action="insert"
    text="text"
    wrap-element="NCName"
    class="NCName"?
  />
Attributes
action="insert"

The action to be performed in this macro step. Currently, the only value allowed is insert.

text="text"

The text to be inserted by this step. Note that:

  • The text may not include any XML or HTML markup: if you attempt to do this, the markup will be escaped.

  • You cannot use standard HTML entities such as &mdash;. If you need to enter special characters you can either enter them directly as UTF-8 characters, or use numeric entities (for example, &#x2014; instead of &mdash;).

wrap-element="NCName" (optional)

The name of an XHTML in-line element in which the inserted text is to be wrapped.

class="NCName" (optional)

A class attribute value to be added to the XHTML element specified with the wrap-element attribute: a space-separated list of CSS class names.