# Table of Contents Architectural Forms

If you already have a table of contents document instance in SGML format, you do not have to create a new table of contents. Instead, you can apply Information Manager architectural forms to the elements in your existing table of contents DTD so Information Manager knows how to treat the table of contents information.

For information on creating an SGML table of contents that conforms to the Information Manager `dtinfoTOC.dtd`, see Creating a Table of Contents.

You can add these attributes to your existing table of contents DTD:

`DTINFO.TOC`

- Apply `DTINFO.TOC` to elements that designate tables of contents.

  Entity name: `DTINFO.TOC`

  Attribute template: `DTINFO.TOC CDATA #FIXED`

  Related Forms: `DTINFO.Scope`, `DTINFO.Value`, `DTINFO.ID`.

  Example:

      <!ELEMENT TOC - - ( Title, TitleAbbrev?, TOCfront*,
                              (TOCpart+ | TOCchap+), TOCback* ) >
      <!ATTLIST TOC
              Id              ID      #REQUIRED

              %DTINFO.TOC;            “#CONTENT”
              %DTINFO.ID;             “attr( Id )”-->
      >

  `DTINFO.TOCEntry`

  Apply `DTINFO.TOCEntry` to elements that indicate an entry in a book’s table of contents.

  Entity name: `DTINFO.TOCEntry`

  Attribute template: `DTINFO.TOCEntry CDATA #FIXED`

  Related Forms: `DTINFO.Scope`, `DTINFO.Value`, `DTINFO.ID`.

  Example:

      <!ELEMENT TOCpart - - ( TOCentry+, TOCchap* ) >
      <!ATTLIST TOCpart
              Id              ID      #IMPLIED

              %DTINFO.ID;             “attr( Id )”
              %DTINFO.TOCEntry;       #CONTENT”
      >

  `DTINFO.TOCLevel`

  Apply `DTINFO.TOCLevel` to elements that indicate an entry in a book’s table of contents.

  Entity name: `DTINFO.TOCLevel`

  Attribute template: `DTINFO.TOCLevel CDATA #FIXED`

  Related Forms: `DTINFO.Scope`, `DTINFO.Value`, `DTINFO.ID`.

  Example:

      <!ELEMENT TOCpart - - ( TOCentry+, TOCchap* ) >
      <!ATTLIST TOCpart
              Id              ID      #IMPLIED

              %DTINFO.ID;             “attr( Id )”
              %DTINFO.TOCLevel;
      >