Assigning Index levels and XREF

TopLeaf supports up to nine Index levels. You can use the <readgen/> directive to automatically extract and include an Index or XREF file. Alternatively, you can set a partition property that instructs TopLeaf to automatically extract Index or XREF content to a specified XML document each time the partition is composed or published. See the User Guide for details.

Each entry will consist of the content of the element being mapped. Any internal markup will be preserved in the file output. The file output will tag each contents level separately, so the levels can be appropriately formatted.

Note that the Index entry must correspond exactly to the content of the current element. If this is not the case (say the text is in the form of an attribute, or if you have to combine the content of several elements) then you must set up a custom marker that is invoked with the required content. See Custom tab for details.

The XREF file is generated separately from the index file, and has a similar format, except that there is only one level of entry. It can be used for a number of purposes, such as generating lists of figures or creating cross references of the form “see page N”.