close

Filter

loading table of contents...

Headless Server Developer Manual / Version 2210

Table Of Contents
5.1.7.2.4.1 Element Transformer

An Element Transformer allows generating an alternate element name based on the element styles. It is used, for example, for generating HTML headlines from the rich text headlines, which are internally stored as paragraphs with custom style classes.

Example: mapping from a style's name to element qualified name.

            ...
              elementTransformer:
                !ElementFromClass
                mapping:
                  *headline_1_style: h1
                  *headline_2_style: h2
                  *headline_3_style: h3
                  *headline_4_style: h4
                  *headline_5_style: h5
                  *headline_6_style: h6
          

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.