The Markup Converters

Markup Converters are document processors capable of converting and filtering the XML markup of documents.

The Markup Converters Menu

The Markup Converters menu provides access to functions for managing and applying Markup Converters, and access to a set of functions for direct markup conversion:

The Edit Markup Converters Dialog

The dialog for Markup Converter management is accessible through the Edit function in the Markup Converters menu. On the right of the dialog, a list displays all existing Markup Converters. In the middle, a table displays the mappings done by the Markup Converter currently selected in that list, where the element name in the "Mapped Tag" column is mapped to the element name in the "Mapping Target" column. Below the table, there are two buttons managing the mappings, and to the left of it, two further buttons allow manipulating the order in which the mappings are applied: At the top of the dialog, a line of buttons provides the functionality for managing the Markup Converters:

Special Mappings

In order to keep them simple, Markup Converters exclusively consist of tag mapping. For accessing the other functions, like filtering, they provide some special syntax and prefixes for the mapped tags and the mapping targets, which trigger these extended functions:

The table below provides a brief summary of the special mappings. <type> retresents any particular Annotation type. If <type> is empty or "*", the operation affects all Annotations, regardless of their type. <attribute> retresents any particular attribute name. If <attribute> is empty or "*", the operation affects all attributes, regardless of their name.

Operation Mapped Tag Mapping Target
Transform Annotations of type <type> to Document Part <type> #T
Rename Annotations of type <type> to <newType> <type> #N <newType>
Remove Annotations of type <type> <type> #R
Remove duplicate Annotations of type <type> <type> #R-D
Remove self-contained Annotations of type <type> <type> #R-I
Remove self-containing Annotations of type <type> <type> #R-O
Remove Annotations of type <type> contained in Annotations of type <containingType> <type> #R-CI <containingType>
Remove Annotations of type <type> containing Annotations of type <containedType> <type> #R-CA <containedType>
Remove Annotations of type <type> not contained in Annotations of type <containingType> <type> #R-NCI <containingType>
Remove Annotations of type <type> not containing Annotations of type <containedType> <type> #R-NCA <containedType>
Delete Annotations of type <type> <type> #D
Rename attribute <attribute> to <newAttribute> in Annotations of type <type> <type>.<attribute> #NA <newAttribute>
Remove attribute <attribute> from Annotations of type <type> <type>.<attribute> #RA