p.book.person.lastname

< 1 min read

Table of Contents

Syntax #

p.book.person.lastname

Purpose #

The p.book.person.lastname annotation is used to tag an element as being a person’s surname or family name. 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:

<personname>

<honorific>Sir</honorific>

<firstname>John</firstname>

<middlename>Leroy</middlename>

 <lastname>Jenkins</lastname>

<generationidentifier>III</generationidentifier>

</personname>