Next Up Previous Contents
Next: getdocdate
Up: Common functions for the Starlink stylesheets
Previous: getdocbody
[ID index][Keyword index]

getdocnumber

Description

Return the current node's document number as a string. If the second optional argument is true, then return the document number as a longer description rather than a code. That is, as `Starlink Cookbook n' rather than `SC/n'

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

If present, this indicates which grove is to be used to find the document element.

asString = boolean (Given), optional

If true, return a longer descriptive string rather than a code.

Return value

Type: string

The document number as a string, or #f if docnumber isn't defined.


Next Up Previous Contents
Next: getdocdate
Up: Common functions for the Starlink stylesheets
Previous: getdocbody
[ID index][Keyword index]