Create Book as DITA BookMap Document

Q

How to create a book as a DITA BookMap document with FrameMaker?

✍: FYIcenter.com

A

A DITA BookMap Document is used as a container of multiple DITA topic docuements to for book with a more complex structure with "chapter" elements.

You can follow this tutorial to create a book as DITA BookMap document with FrameMaker.

1. Start FrameMaker.

2. Click "File > New > XML" menu. You see "New XML" screen.

3. Select "DITA > BookMap" and click "OK". Click "No", if you are asked to "Insert new file as a topicref". You see a blank book (named as BOOKTITLE) displayed in the left tree view panel.

4. Click on the "View > Document View" menu to switch to the document view mode. You see a blank template book displayed in the main editing window.

5. Click on the "XML View" icon in the menu bar and next to the search icon. You see the XML elements of the DITA BookMap document.

6. Enter more details to complete the BookMap document as shown below:

<bookmap>
    <booktitle>
        <mainbooktitle>Second Book - DITA BookMap Example</mainbooktitle>
    </booktitle>
    <chapter href="DITA-Topic-Task-Example.xml">
        <topicref href="DITA-Topic-Concept-Example.xml"/>
        <topicref href="DITA-Topic-Reference-Example.xml"/>
        <topicref href="DITA-Topic-Glossary-Example.xml"/>
    </chapter>
    <chapter href="DITA-Topic-Concept-Example.xml">
        <topicref href="DITA-Topic-Reference-Example.xml"/>
        <topicref href="DITA-Topic-Glossary-Example.xml"/>
    </chapter>
    <chapter href="DITA-Topic-Glossary-Example.xml">
        <topicref href="DITA-Topic-Reference-Example.xml"/>
        <topicref href="DITA-Topic-Glossary-Example.xml"/>
    </chapter>
</bookmap>

6. Click "File > Save As" to save the document to DITA-BookMap-Example.xml in "XML (*.xml)" format.

The picture below shows you how to create a book as DITA BookMap document in FrameMaker:
Create Book with DITA BookMap in FrameMaker

 

Edit DITA Files with FrameMaker

⇒⇒FrameMaker Tutorials

2017-11-25, 172👍, 0💬