p.book.edition

Table of Contents

Syntax #

p.book.edition

 

Purpose #

The p.book.edition annotation is used to tag an element as being the book’s edition number (e.g. 1st Edition, 1e, 1, etc). 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.edition 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.edition:

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

 

<bookid>

<edition>Fifth Edition</edition>

</bookid>