Skip to Main Content
Creating Effective JavaHelp
book

Creating Effective JavaHelp

by Kevin Lewis
June 2000
Intermediate to advanced content levelIntermediate to advanced
192 pages
4h 53m
English
O'Reilly Media, Inc.
Content preview from Creating Effective JavaHelp

TOC File

Example:

<toc version="1.0">
  <tocitem image="img.toplevelfolder" target="intro"
           text="Introduction to Aviation">
  <tocitem text="Airplane Structure">
      <tocitem target="empennage" text="Empennage"/>
      <tocitem target="fuselage" text="Fuselage"/>
  </tocitem>
</toc>

Tag

Attribute

Required

Description

<toc>

 

Yes

Top-level element, encompassing the entire TOC file. Nested within are <tocitem> elements, which define individual TOC entries.

 

version

No

Version of JavaHelp for which the TOC file is created.

<tocitem>

 

Yes

Specifies an individual TOC entry.

 

target

No

Map ID of a help topic. If you use this attribute, the TOC entry becomes a link to the specified help topic. Omit this attribute for a TOC entry that is just a heading, not a link.

 

text

Yes

Text of the TOC entry, as it appears in the TOC.

 

image

No

Map ID of an icon that is displayed along with the text of the TOC entry.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Expert One-on-One™ J2EE™ Development without EJB™

Expert One-on-One™ J2EE™ Development without EJB™

Rod Johnson, Juergen Hoeller
Pro JavaFX 9: A Definitive Guide to Building Desktop, Mobile, and Embedded Java Clients

Pro JavaFX 9: A Definitive Guide to Building Desktop, Mobile, and Embedded Java Clients

Johan Vos, Stephen Chin, Weiqi Gao, James Weaver, Dean Iverson

Publisher Resources

ISBN: 1565927192Supplemental ContentCatalog PageErrata