#### 6.4.5 Filtering out elements via format mapping

As an adjunct or alternative to ditaval filtering (see §9. Specifying conditional processing), you can exclude specific elements from output by mapping them to format property Delete. For example:

    [BlockFormatMaps]
    context/* = Delete
    stepresult/* = Delete
    info/* = Delete

    [InlineFormatMaps]
    draft-comment/* = Delete

Previous Topic: 6.4.4 Mapping the same element to different formats

Next Topic: 6.5 Mapping element attributes to output formats

Parent Topic: 6.4 Mapping element paths to output formats

Sibling Topics:

6.4.1 Understanding element paths

6.4.2 Mapping block and inline element paths to formats

6.4.3 Overriding element paths for default formats

6.4.4 Mapping the same element to different formats