View Categories

p.book.person.honorific

< 1 min read

Table of Contents

Syntax #

p.book.organization.honorific

Purpose #

The p.book.person.honorific annotation is used to tag an element as being the title of a person representing an organization. Honorifics include name prefixes such as Mr., Ms., Dr., etc. This annotation applies a tag which adds the element to the DITA bookmap’s metadata.

Example #

The following is an example of a time when you might want to use the annotation

 

The following is an example of a rule that will apply the annotation

The following is the DITA XML output for the rule:

<organizationinfo>

<namedetails>

<personname>

<honorific>Sir</honorific>

<firstname>John</firstname>

<middlename>Leroy</middlename>

<lastname>Jenkins</lastname>

<generationidentifier>III</generationidentifier>

</personname>

</namedetails>

</organizationinfo>