close

Filter

Headless Server Developer Manual / Version 2310
Table Of Contents

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
        
Was this article useful?

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

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