Compartir a través de


TableOfContents Element

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

The TableOfContents element is an XML metadata element that specifies table of contents information for a document set.

Members

The following table lists the members of this element.

Element

Type

Required

Description

publisher

publisher

Yes

An element that specifies the publisher of the table of contents.

documentSets

documentSets

Yes

An element that specifies the name of a document set.

ms.locale

ms.locale

Yes

An element that specifies the language for the table of contents.

entries

entry

Yes

The element you use to add one or more entry elements. Each entry element adds a record to the table of contents for the specified document set.

Remarks

Use this element and child elements to supply table of contents information for a document set. The tableOfContents element is the root element of a document that is stored in an XML file.

To add topics to the table of contents, add child elements to entries that specify the ID of a help topic and the text to display in the table of contents.

Examples

The following XML example shows how to use the tableOfContents element to add table of content entries to the document set named UserDocumentation. Notice the use of the publisher, documentSets, and ms.locale elements. Also, notice how xmlns attributes specify namespace information for the table of contents XML document.

<?xml version="1.0" encoding="utf8"?>
<tableOfContents xmlns="https://schemas.microsoft.com/dynamicsHelp/2008/11" xmlns:xsl="https://www.w3.org/2001/XMLSchema-instance">
   <publisher>Microsoft</publisher>
   <documentSets>UserDocumentation</documentSets>
   <ms.locale>EN-US</ms.locale>
   <entries>
   </entries>
</tableOfContents>

See also

DocumentSets Element

Entry Element

Ms.Locale Element

Publisher Element