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

getdocbody

Description

Obtain the specified child of the docbody element for the current grove. That is, (getdocbody 'abstract) returns the current document's abstract.

Argument list
type = symbol (Given), optional

Symbol giving the name of one of the children of the docbody element. If this is given as #f, or omitted, then the docbody element itself is returned.

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: getdocnumber
Up: Common functions for the Starlink stylesheets
Previous: getdocinfo
[ID index][Keyword index]