# Help Data

###### Identifier:

org.eclipse.help.HELP_DATA

###### Since:

3.3

###### Description:

The help data XML file is used by products to control the order of books in the help table of contents, as well whether or not books or keyword index sets should be displayed at all. The file must be referenced in the product's `plugin_customization.ini` file using the `org.eclipse.help/HELP_DATA` property.

###### Configuration Markup:

<!ELEMENT extensions (tocOrder? , hidden?)>

The extension data for Help.

<!ELEMENT tocOrder (toc | category)*>

Specifies the order in which top-level table of contents entries (also called "books") or categories of books should appear in Help. If one of the items listed is not available, it is ignored. If there are items available that are not listed and not hidden, they will be displayed after the ones listed here.

<!ELEMENT toc EMPTY>

<!ATTLIST toc

id CDATA #REQUIRED>

A reference to a top-level table of contents (TOC) entry, also called a "book".

- id - The unique identifier for this book. For XML file TOC contributions, this is a path to the file in the form "`/<plugin_id>/<path>/<file>`" (e.g., "`/org.eclipse.platform.doc.user/toc.xml`"). In general, this is the ID of the `TocContribution` supplied by its originating `AbstractTocProvider`.

<!ELEMENT category EMPTY>

<!ATTLIST category

id CDATA #REQUIRED>

A reference to a category of top-level table of contents (TOC) entries (books). Categories are implicitly created when a table of contents contribution declares itself to be of that category, for example, by specifying a `category` attribute for the `toc` element in the `org.eclipse.help.toc` extension point.

- id - The unique id of the category.

<!ELEMENT hidden (toc | category | index)*>

Contains a set of help items that should be hidden from the user.

<!ELEMENT index EMPTY>

<!ATTLIST index

id CDATA #REQUIRED>

A reference to a contribution of help index keywords.

- id - The unique identifier for this contribution of keywords. For XML file index contributions, this is a path to the file in the form "`/<plugin_id>/<path>/<file>`" (e.g., "`/org.eclipse.platform.doc.user/index.xml`"). In general, this is the ID of the `IndexContribution` supplied by its originating `AbstractIndexProvider`.

###### Examples:

The following example shows how to arrange the following books in the order shown:

- Book #1: "Introduction to XYZ" (category: "`user.intro`") in `/com.xyz.doc.user/introToc.xml`
- Book #2: "Using XYZ" (category: "`user.content`") in `/com.xyz.doc.user/usingToc.xml`
- Book #3: "Troubleshooting" (category: "`user.reference`") in `/com.xyz.doc.user/refToc.xml`

As well as hide the following books/categories and related keyword indexes:

- Book #4: "Platform ABC" (category: `none`) in `/org.abc.doc.isv/toc.xml`
- Book #5: "DEF Toolkit" (category: "`isv.reference`") in `/com.def.doc.isv/toc.xml`
- Book #6: "GHI Support" (category: "`isv.reference`") in `/com.ghi.doc.isv/toc.xml`

The markup would be the following:

    <extensions>
       <tocOrder>
          <toc id="/com.xyz.doc.user/introToc.xml"/>
          <category id="user.content"/>
          <toc id="/com.xyz.doc.user/refToc.xml"/>
       </tocOrder>
       <hidden>
          <toc id="/org.abc.doc.isv/toc.xml"/>
          <category id="isv.reference"/>
          <index id="/org.abc.doc.isv/index.xml"/>
          <index id="/com.def.doc.isv/index.xml"/>
       </hidden>
    </extensions>

###### Supplied Implementation:

This API is supported by any help implementation that is based on `org.eclipse.help`, including the default help implementation provided by Eclipse.

Copyright (c) 2006 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies >https://www.eclipse.org/legal/epl-2.0/ > >SPDX-License-Identifier: EPL-2.0