The links Element Helpset File

6-6 Oracle Fusion Middleware Developers Guide for Oracle Help In the following example, two TOC tabs are created, one labeled Users Guide and the other labeled Reference. They both use the XML file format for the table of contents specified in the data element, but they have different values in the label element. If both of the labels were the same, the TOC files, ug_toc.xml and ref_ toc.xml, would be combined into a single TOC, and it would be shown in a single tab. view labelUsers Guidelabel typeoracle.help.navigator.tocNavigator.TOCNavigatortype data engine=oracle.help.engine.XMLTOCEngineug_toc.xmldata view view labelReferencelabel typeoracle.help.navigator.tocNavigator.TOCNavigatortype data engine=oracle.help.engine.XMLTOCEngineref_toc.xmldata view In the following example code, only one Contents tab is created, even though the two views use different file formats XML vs. HHC and different data engines. That is because the label and the type are the same. One advantage of this feature is that you can merge help systems using the old format with help systems using the new one without compromising the way the tabs are presented. view labelTable of Contentslabel typeoracle.help.navigator.tocNavigator.TOCNavigatortype data engine=oracle.help.engine.XMLTOCEnginenew_toc.xmldata view view labelTable of Contentslabel typeoracle.help.navigator.tocNavigator.TOCNavigatortype data engine=oracle.help.engine.HHCEngineold_toc.hhcdata view The next example shows one view each for a table of contents, an index, and a search. They do not have labels, so Oracle Help creates three tabs with the default labels, Contents , Index, and Search. Each view contains a title element with the value Users Guide. This produces the following results: data The path to the data used by this view, in other words, to the pertinent navigational control file, such as table-of-contents file, index file, or search file. The contents of this element can be a file name or a URL. The data element supports the following attributes: ■ class – [optional] A class whose location is the base location for the data file. Any path information is relative to this base location, including any references to HTML files. ■ engine – The name of the Java class to process the data file. A different engine is required for each of the file types supported by Oracle Help, including Oracle Helps XML formats based on the JavaHelp formats, the MS HTML Help HHCHHK file formats, and the TOCTOK formats supported by earlier versions of OHJ. For more information about supported engines and view type, see Section 6.1.6.1, Data View Type and Engines . Table 6–4 Cont. view Child Elements Element Description