Children node-lists

(children ndl)
(children ndl) returns the children of ndl.
E.g. (children (current-node)) returns the children of the current node.

(current-node) is always a singleton node-list, i.e. the length of the node-list is one.
The length of a children node-list is zero or more.


Example

The children of the COOKBOOK-node are CTITLE and RECIPE.
The children of the RECIPE-node are TITLE and all INGREDIENT-nodes.

Stylesheets

You find another example and stylesheets, which demonstrate the use of children on the
next page.
Next: Processing node-lists as lists
Index