The custom-filter-map and custom-filter custom-filtering pipeline steps are applied at DITA map level and DITA topic levels, respectively. They apply a predefined XSL-T custom-filter.
<p:xslt name="custom-filter-map">
<p:input port="stylesheet">
<p:document href="cpnz:dita:custom:xsl:filter.xsl" />
</p:input>
<p:with-param name="debug" select="$debug" />
</p:xslt>
<p:for-each name="for-each-custom-filter">
<p:xslt name="custom-filter">
<p:input port="stylesheet">
<p:document href="cpnz:dita:custom:xsl:filter.xsl" />
</p:input>
<p:with-param name="debug" select="$debug" />
</p:xslt>
<p:store name="store-custom-filter" />
</p:for-each>