Import XML

General Remark

JHelpDev uses the Java API for XML Processing (JAXP) for importing XML files. It applies the SAX parser for that task with the Xerces implementation.

Import existing Index

Given that you have an index that was not created with JHelpDev, you can import it, if it is in the project directory and has the name %projectname%Index.xml. You should be able to see the index entries in the Item Order View. Invalid targets will be rendered red after you run Create Map for the next time if your target names in the original file do not fit with the naming conventions used in JHelpDev. You should edit these items to change to a valid target.

Import existing TOC

Given that you have a TOC that was not created with JHelpDev, you can import it, if it is in the project directory and has the name %projectname%TOC.xml. This may likely result in a situation, where you have a complete TOC but with invalid targets after you run Create Map. Anyway, this can be changed easily by editing the items in the tree. You may use that approach to reuse existing TOC files.

See also: Naming Conventions, Creating TOC, Creating Index