14.9.3 Specifying the ID for a DITA topic
To give a topic an ID, place a DITATopicID marker in the topic; the content of the DITATopicID marker is the topic ID.
As an alternative, you can use a FileName marker, in which case the marker content specifies both the topic ID and the base file name of the split file that contains the topic (see §32.7.3 Using custom markers to name split and extract files).
In the absence of either marker, the default topic ID is the base split-file name, adjusted as for CSS class names; see §14.9.4 Adjusting DITA topic IDs generated from file names.
If you do not split files (see §14.8.2 Splitting FrameMaker files into DITA topic files), nor insert markers for topic IDs, Mif2Go makes up an ID for each topic after the first (which uses the base file name). These generated IDs are of the form topic2, topic3, and so forth. This is not recommended practice.
To specify a default ID other than the base split-file name (but only for the first topic in a FrameMaker file), include the following option in a chapter-specific configuration file (see §31.1.1 Providing configuration files for individual chapters) located in the project folder:
; TopicID = id for topic, default is base file name
You can override the default ID with a DITATopicID marker, or with a FileName marker.
> 14 Producing DITA XML > 14.9 Configuring DITA topics > 14.9.3 Specifying the ID for a DITA topic
