Critical dates
Metadata relating to important dates in the life cycle of the document are stored in a created and revised elements in the topic prolog or ditamap topicmeta elements.
The topic's
prolog element (and the
topicmeta equivalent in the ditamap) contains a
critdates element, which is used to store date information
relating to the document life cycle. Two types of date information can be
stored in specific date elements:
- created element
- dates associated with the topic as originally created
- revised element
- dates associated with the most recently revised content in the topic
Only one created element is allowed, but as many revised elements as required are allowed.
The
created element can store specific dates in the following
attributes:
- date
- the topic creation date
- golive
- the date the topic was released (made generally available)
- expiry
- the date when the topic content is expected to become obsolete (or need to be reviewed)
The
revised element can store specific dates in the following
attributes:
- modified
- the date the content of the topic was last modified
- golive
- the date the modified topic was released (made generally available)
- expiry
- the date when the topic content is expected to become obsolete (or need to be reviewed)
All dates should be entered in YYYY-MM-DD format, where YYYY is the year, MM is the number of the month, and DD is the number of the day.
An example of a
critdates section is:
<critdates>
<created date="2009-10-22" golive="2009-11-30" />
<revised modified="2009-12-01" golive="2010-01-01" expiry="2010-02-27" />
<revised modified="2010-02-09" golive="2010-02-27" expiry="2010-12-30" />
</critdates>