On 06/23/2017 10:17 AM, Grundtvig Nielsen Niels wrote:
By the way … may I suggest a small addition to one <dd> in one help
topic? I was reading pageHeaderFooter yesterday for a reminder about
{{document-date}}, and ended up a bit confused because of not knowing
quite enough. What threw me for awhile was not being reminded that the
<critdates> element is also available in a <prolog>.
*as-is*
{{document-date}}
The publication date of the document.
The value of the variable comes from the last created or revised element
found in the topicmeta/critdates or bookmeta/critdates element of the
map […]
*suggestion*
{{document-date}}
The publication date of the document.
The value comes from the last created or revised element found in the
critdates element, which can be in the <prolog> of a topic, the
<topicmeta> of a map or the <topicmeta> of a bookmap.
The current documentation is correct. Even if critdates is also found in
topic/prolog, currently {{document-date}} cannot be determined by
examining the prolog/critdates of a DITA *topic*, but only by examining
the topicmeta/critdates or bookmeta/critdates of a DITA *map*.
When you convert a DITA topic, {{document-date}} is always the current
date (that is, always today).
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support