Next Up Previous Contents
Next: getdocbody
Up: Common functions for the Starlink stylesheets
Previous: %display-programcode-elements%
[ID index][Keyword index]

getdocinfo

Description

Obtain the specified child of the docinfo element for the current grove. That is, (getdocinfo 'title) returns the current document's title

Argument list
type = symbol (Given)

Symbol giving the name of one of the children of the docinfo element

nd = node-list (Given), optional

A node-list which indicates the grove which is to supply the document element. If omitted, it defaults to the current node, and the document element corresponding to the current grove is obtained and returned.

Return value

Type: node-list

Return a node-list consisting of the specified child, or false if there is no such child.


Next Up Previous Contents
Next: getdocbody
Up: Common functions for the Starlink stylesheets
Previous: %display-programcode-elements%
[ID index][Keyword index]