6.4 Mapping element paths to output formats

Instead of simply mapping each element to a single output format, DITA2Go supports mapping element paths, so you can choose different output formats for the same block or inline element where it appears at different levels or in different hierarchies of your DITA document.

Most of the configuration settings that involve mapping elements to output formats use element paths as the key, to allow you to differentiate based on document hierarchy. Configuration template d2g_config.ini contains the full default set of maps that DITA2Go uses; see §39.1.3 Understanding how templates are chained together.

In this section:

§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

§6.4.5 Filtering out elements via format mapping

Previous Topic:  6.3.4 Mapping wrapper-element outputclass attributes to formats

Next Topic:  6.4.1 Understanding element paths

Parent Topic:  6. Mapping elements to output formats

Sibling Topics:

6.1 Understanding how to assign formats

6.2 Specifying options for naming formats

6.3 Mapping outputclass attribute values to formats

6.5 Mapping element attributes to output formats

6.6 Specifying formats for cross references

6.7 Specifying formats for footnotes

6.8 Specifying options for figures

6.9 Specifying formats and options for tables

6.10 Specifying options for special lists

6.11 Specifying options for draft comments

6.12 Specifying options for maps

6.13 Deciding where to display title and shortdesc