Creating headers in Ditamaps

I found it difficult to find relevant information on the web about how to create anything below a level-heading 2. In my Ditamaps the heading 2 is the topic level and therefore, as soon as a topic is added to a map file, it becomes by default a heading 2. But I want to make a heading 3, how do I do that?

Here is an example of a Ditamap with headings 2 and 3:

<?xml version=”1.0″ encoding=”utf-8″?>
<!DOCTYPE map PUBLIC “-//OASIS//DTD DITA BookMap//EN” “map/dtd/map.dtd”>

<map id=”example” xmlns:ditaarch=”http://dita.oasis-open.org/architecture/2005/&#8221; rev=”1.0″>

<topicref href=”first.xml” >
<topicref href=”intro.xml”>
<topicref href=”description.xml” />
<topicref href=”dawn.xml”>
<topicref href=”dawn chorus.xml” />
</topicref>

</topicref>

</map>

In this example the topic called ‘dawn chorus’ is a heading 3. It is embedded under the topic ‘dawn’ by having the heading 3 before the end tag. Simple? Yes, and I hope I have explained it adequately.

Advertisements
This entry was posted in DITA, Tech writer tips, Usability studies and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s