XML technologies / DocBook / Block elements / Index entries

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

A technical book without an index is like soup without salt: the index is the first place to look for specific information.

To insert an index entry in your document, place indexterm where the index should point. Attributes can identify individual locations or entire ranges in a document.

Did you expect to insert an index entry using index? This element only marks the starting point of the index. The sorted index is normally generated automatically by the XSLT stylesheets, so you need only insert <index/> at the appropriate location in the document.

The following sections explain how to create index entries, from the simplest to the most complex case.

  

  

back to top