Defining a custom filtering on maps and topics

Add a new map-filter-preprocess.xpl pipeline that defines custom filtering steps that can be overridden by the user to do custom filtering on both maps and topics.

Custom pre-filtering requires a custom XSL-T stylesheet that implements the filtering. This stylesheet must be registered with an XML catalog to be then applied by pipelines steps onto DITA maps and topics.
  1. Create a custom filtering XSL-T stylesheet.
  2. Add a cpnz:dita:custom:xsl:filter.xsl entry to your customization catalog to match the custom filtering stylesheet.
  3. Add the custom-filter-map and custom-filter pre-filtering steps to your customization pipeline.
The output of the custom-filtering can then be processed with a standard ditaval filtering.