View Categories

p.book.organization.generation

< 1 min read

Table of Contents

Syntax #

p.book.organization.generation

 

Purpose #

The p.book.organization.generation annotation is used to tag an element as being the generation indicator of a person representing an organization. This includes name suffixes such as Jr., Sr., III, 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.organization.generation 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.organization.generation:

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

 

<organizationinfo>

<namedetails>

<personname>

<honorific>Sir</honorific>

<firstname>John</firstname>

<middlename>Leroy</middlename>

<lastname>Jenkins</lastname>

<generationidentifier>III</generationidentifier>

</personname>

</namedetails>

</organizationinfo>