Next Up Previous Contents
Next: get-link-policy-target
Up: Common functions for the Starlink stylesheets
Previous: root-file-name
[ID index][Keyword index]

document-release-info - Extract release numbers and dates from history

Description

Return a list containing

  • version date: contents of the date attribute of the last VERSION element in the history, or false if there's none.
  • last change date: contents of the date attribute of the last CHANGE or DISTRIBUTION element, or false if there's none.
  • version number: contents of the number attribute of the last VERSION element.
  • distribution id: contents of the string attribute of the last DISTRIBUTION element.
Each element of the list is #f (as opposed to blank) if the corresponding information is unavailable.

If there's no history element, then the first two elements will be the same, with the contents of the DOCDATE element, and the last two will be #f.

We don't check whether the dates are sensible (ie, whether the last element really does have the latest date).

Argument list
nd = node-list (Given), optional

A node which identifies the grove we want the document release info for.

Return value

Type: list

(version date version-number distribution-id)


Next Up Previous Contents
Next: get-link-policy-target
Up: Common functions for the Starlink stylesheets
Previous: root-file-name
[ID index][Keyword index]