<Formatters>

<Formatters> is an optional element that you can use to add formatters to your mapping file. A formatter is a piece of code that manipulates the exported data either before or after it is mapped to XML. There are two types of formatters:

  • Field formatters act on specific pieces of data. You can write field formatters for two events in an export mapping: BeforeMapTo and AfterMapTo.
  • Data formatters apply to the entire document, or to steps within the document. You can write data formatters for four events in an export mapping: BeforeMapObjectTo, AfterMapObjectTo, BeforeMapDocumentTo, and AfterMapDocumentTo.

<Formatter>

The <Formatters> element has one or more <Formatter> elements as children. This table describes each attribute of the <Formatter> element.

AttributeDescription
MonikerMoniker of the formatter. Must be listed in the Monikers configuration in the Configuration Editor. Required.