Case 3 – Topic as Source of title - Fluid Topics - 3.4 - Technical Notes

Empower Metadata with Fluid Topics

Product
Fluid Topics
Fluid Topics Version
3.4
Category
Technical Notes
Language
English
Target Audience
public

The <title> element defined in the topic is used to generate an entry in the ToC if the following condition is met:

  • No <navtitle> element is defined in the DITA map or in the topic.

The following lines show a topic title element that is not declared in a DITA map but in the topic itself.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN"
"http://docs.oasis-open.org/dita/v1.1/OS/dtd/map.dtd">
<map title="time_machine_configuration_guide">
<title>Time Machine Configuration Guide</title>
<topicref href="time_machine_history.dita"/>
<topicref href="time_machine_principle.dita"/>
<topicref href="time_machine_settings.dita"/>
</map>

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN"
"http://docs.oasis-open.org/dita/v1.1/OS/dtd/topic.dtd">
<topic id="time_machine_settings">
<title>How to Time Travel</title>
<body>
<p></p>
</body>
</topic>

The entry in the ToC and the topic's title in the Reader page are both set to "How to Time Travel."