41.4 Understanding content-model configurations

A content-model configuration file includes the following sections: 

[Topic]

Lists the root element used to generate the content model. Also includes PUBLIC and SYSTEM identifiers for DITA or DocBook, and the starting topic and body element for DITA topic types. See §41.4.1 Content model [Topic] settings.

[ElementSets]

Groups elements into sets for assignment in sections [TopicParents] and [TopicFirst]. See §41.4.2 Content model [ElementSets] settings

[TopicParents]

Lists the valid parent element(s) of each element. See §41.4.3 Content model [TopicParents] settings.

[TopicFirst]

Lists parent elements for which a given element must be the first child. See §41.4.4 Content model [TopicFirst] settings.

[TopicLevels]

Specifies required levels for certain elements. See §41.4.5 Content model [TopicLevels] settings.

[ElementTypes]

Classifies each element as to whether it is block or inline, whether it allows text, and whether it is preformatted. See §41.6 Inspecting and correcting element types.

In this section:

§41.4.1 Content model [Topic] settings

§41.4.2 Content model [ElementSets] settings

§41.4.3 Content model [TopicParents] settings

§41.4.4 Content model [TopicFirst] settings

§41.4.5 Content model [TopicLevels] settings

Previous Topic:  41.3 Preparing a content model for use with DITA2Go

Next Topic:  41.4.1 Content model [Topic] settings

Parent Topic:  41. Working with content models

Sibling Topics:

41.1 Understanding DITA2Go content models

41.2 Modifying or replacing a content model

41.3 Preparing a content model for use with DITA2Go

41.5 Understanding how DITA2Go uses content models

41.6 Inspecting and correcting element types

41.7 Specializing or modifying DITA topic types

41.8 Extracting content-model debug information

Table of ContentsIndex