p.book.product-name

< 1 min read

Table of Contents

Syntax #

p.book.product-name

 

Purpose #

The p.book.product-name annotation is used to tag an element as being the name of a product. This name may be different from the title of the documents supporting the product. 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.product-name 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.product-name:

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

 

<prodinfo>

<prodname> MacGuffin</prodname>

<series>Stilo MacGuffins</series>

</prodinfo>