Introduction to Groves
Grove
A SGML document has a hierarchical tree-like structure.
So the datatype of a SGML-document in the DSSSL-engine
is a tree-like structure, called grove. A leaf is called
node. The branches are called children.
node-list
All children of a node are joined together in a node-list.
A node-list is a list of nodes in a strict order.
Later you will learn that you can handle node-list like usual lists.
E.g. you can get the length, the head or the tail of a node-list.
Example
A grove is constructed from the SGML-document.
The doctype element COOKBOOK gets the root-node.
All nodes joined together in a box form a node-lists.
E.g. the children of the COOKBOOK-node CTITLE and RECIPE form
a node-list.
Next: Apply formatting specifications to node-lists
Index