p.book.title.alternative

Table of Contents

Syntax #

p.book.title.alternative

 

Purpose #

The p.book.title.alternative annotation is used to tag an element as an alternate title for the book. It can be used in navigation and searching tools as a keyword for the book. This annotation applies a tag which adds the element to the DITA bookmap’s metadata.

Examples #

The following is an example of a time where you might want to use the p.book.title.alternative annotation:

Note: the relevant paragraph has been marked in bold for this example. The paragraph is not bold in the source document.

The following is an example of a rule that will apply p.book.title.alternative:

The following is the DITA XML output for the previous rule (relevant portion in bold):

 

<booktitle>

<title>MacGuffin User Manual First Edition</title>

<mainbooktitle>MacGuffin User Manual</mainbooktitle>

<booktitlealt>MacGuffin Manual</booktitlealt>

<booklibrary>User Manuals</booklibrary>

</booktitle>