Oracle Help File Formats | ![]() Contents | ![]() Previous | ![]() Next |
---|
The Table of Contents (TOC) file is an XML file that describes to the table-of-contents navigator (typically rendered as the Contents tab) the content and layout of the table of contents. The following table describes the elements used in the table of contents file:
Element | Description |
---|---|
<toc> |
Defines the table of contents. This element contains
|
<tocitem> |
Defines a table of contents entry. A
|
The following example shows a short table of contents file:
<?xml version='1.0'?>
<toc version="1.0">
<tocitem text="Introduction to My Product">
<tocitem target="aboutmyp" text="About My Product" />
<tocitem target="architec" text="My Product Architecture" />
<tocitem target="feature1" text="About Feature One" />
<tocitem target="feature2" text="About Feature Two" />
<tocitem target="feature3" text="About Feature Three" />
<tocitem text="Learning My product">
<tocitem target="qtour" text="Quick Tour" />
<tocitem target="docguide" text="Guide to Documentation" />
</tocitem>
</tocitem>
<tocitem text="Step-by-step Procedures">
<tocitem text="Basic Tasks">
<tocitem target="task1" text="To..." />
<tocitem target="task2" text="To..." />
<tocitem target="task3" text="To..." />
</tocitem>
<tocitem text="Working with ...">
<tocitem target="task4" text="To..." />
<tocitem target="task5" text="To..." />
</tocitem>
</tocitem>
</toc>
This definition produces the following TOC hierarchy:
Copyright © 1996, 2004, Oracle. All rights reserved.