Custom markers

Custom markers are user defined elements created for the purpose of structuring content generated by TopLeaf style sheet rules. Custom markers mappings allow you to apply additional styling rules or actions that cannot triggered by directly mapping the available document markup. To fully understand how such markers are used you will need to become familiar with the Custom tab of the Mapping Editor (see Custom tab).

For now it suffices to say that:

  • custom markers may be defined as required for a particular job;

  • custom markers perform a similar function inside mappings to that of tags within the document;

  • custom markers have start, end and empty versions just like tags;

  • the names of custom mappings always begin with a percent sign followed by an upper case letter.

    For example %MyHeader would be the mapping for