Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The collection definition (.HxC) file serves as a manifest for your collection-level files. Each collection-level file receives a reference in the .HxC file, as follows:
<TOCDef> refers to the collection-level .HxT file.
<KeywordIndexDef> refers to a collection-level .HxK file.
<AttributeDef> refers to the collection-level .HxA file.
The <ItemMoniker> tags are also required and can be copied from the .HxC file that was used to compile the .HxS file. The <CompilerOptions> and <IncludeFile> elements are ignored at registration time and should be omitted.
Example
The following example shows a simple collection-level .HxC file for a Help collection that has a table of contents and two indexes.
<?xml version="1.0"?>
<!DOCTYPE HelpCollection>
<HelpCollection
DTDVersion="1.0"
LangId="1033"
Title="HelpCol_A Collection"
>
<TOCDef File="HelpCol.HxT"/>
<KeywordIndexDef File="HelpCol_K.HxK"/>
<KeywordIndexDef File="HelpCol_A.HxK"/>
<ItemMoniker Name="!DefaultTOC"
ProgId="HxDs.HxHierarchy"
InitData="TOC"/>
<ItemMoniker Name="!DefaultKeywordIndex"
ProgId="HxDs.HxIndex"
InitData="K"/>
<ItemMoniker Name="!DefaultAssociativeIndex"
ProgId="HxDs.HxIndex"
InitData="A"/>
</HelpCollection>