Headless Server Developer Manual / Version 2201
Table Of ContentsThe default output handler for element nodes, introduced by:
!ElementWriter
Property | Description |
---|---|
writeElement | Boolean flag indicating if the start and stop element should be written to the output. Defaults to false. |
writeCharacters | Boolean flag indicating if the character nodes of an element should be written. Defaults to false |
elementTransformer | Optional transformation rules for the element. |
attributeTransformers | Optional transformation rules for the element’s attributes. |
Table 5.5. Available properties for !ElementWriter.
Example:
contexts: - !Context name: headline defaultHandler: !Handler eventMatcher: ... contextHandler: ... outputHandler: !ElementWriter { writeCharacters: true } ...