Syntax #
p.book.copyright.first-year
Purpose #
The p.book.copyright.first-year annotation is used to tag an element as being the current year or the first year that a book was copyrighted. In a single year copyright, this annotation is used alone to indicate the year. In a multiple year copyright, this annotation is used to indicate the first year value. This annotation applies a tag which adds the element to the DITA bookmap’s metadata.
See p.book.copyright-last for more information.
Examples #
The following is an example of a time where you might want to use the p.book.copyright.first-year 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.copyright.first-year:
The following is the DITA XML output for the previous rule (relevant portion in bold):
<bookrights>
<copyrfirst>
<year>2023</year>
</copyrfirst>
<copyrlast>
<year>2028</year>
</copyrlast>
<bookowner>
<person>Jane M. Jensen</person>
</bookowner>
</bookrights>