One document is called the main document. This document is a regular document with the main attribute set to "true". There can be only one main document.

Some attributes of this main document are used to specify site-wide information:

In the main document, any attribute beginning with "stog:" will be used as global attribute and accessible in all templates by its name. Other attributes are associated to the document only.