Write XML Topics

Generates separate XML files for each topic in the current file or book.

This command requires initial setup of the TopicNameTpl parameter in the fm2dita.ini file as well as any other settings or properties that affect file naming (such as chapter numbering).

Each file is processed from the bottom, up. Each topic in the file is selected, cut and copied to a new empty file, then saved to XML. All files are written to the current file’s folder using the structure application of the EDD that has been imported into the current file.

Before running this command, all FM files should be validated using the Element > Validate command, for details see Task 4: Pre-export Validation.

Important: When processing is complete, any files left open indicate that something went wrong with the processing of that file. Note any content that remains in the file, but close it without saving (or save it to a new name).

This command must be run after the EDD has been applied.