Description of the Structure Application Files

The structure application files provided with DITA-FMx do more than your typical structure application.

The Structure\xml\DITA-FMx_1.1 folder contains a number of files, some are specific to the structure applications, and some are used for other purposes.

DITA-FMx_1.1\
map-from-outline_template.fm - Template file used by the New DITA File > New Map from Outline command.
DITA-FMx_1.1\Book\
book_1.1.edd.mif - The Book application EDD (in MIF format). Defines the data model structure and provides the element definitions. Save to FM format before modifying. Remember to import this into the template (below) if you make and changes to the EDD.
book_1.1.rules.txt - The Book application read/write rules file.
book_1.1.template.fm - The Book application template file. Defines the page layout and formatting as well as the character and paragraph styles used by the EDD.
bookmap2fmbook.xsl - The Book application XSL import file. Controls the process that aggregates all of the topic files into the book and chapter FM files.
expandOrig.xsl - A support file for the Book XSL import process. Performs initial aggregation of all topic files before passing control off to the bookmap2fmbook.xml file.
structapps-stub_book_1.1.fm - The Book application definition stub file. Inserted into the structure application definitions file (structapps.fm).
DITA-FMx_1.1\Book\component-templates\
gentpl~indexlist.fm - A sample template for generating an Index (indexlist). Referenced by the ditafmx-bookbuild.ini file.
gentpl~toc.fm - A sample template for generating a TOC (toc). Referenced by the ditafmx-bookbuild.ini file.
tpl~appendix.fm - A sample template for an Appendix map element. Referenced by the ditafmx-bookbuild.ini file. As of DITA-FMx 1.1.11, the EDD in this template is the default EDD; additional context rules have been added to support the alternate heading styles used for appendix and part files.
tpl~chapter.fm - A sample template for a Chapter map element. Referenced by the ditafmx-bookbuild.ini file. As of DITA-FMx 1.1.11, the EDD in this template is the default EDD; additional context rules have been added to support the alternate heading styles used for appendix and part files. The default Chapter template is actually just a copy (and rename) of the default Book template. It can be convenient to use a Chapter template to make adjustments to the output without modifying the core Book template.
tpl~part.fm - A sample template for a Part map element. Referenced by the ditafmx-bookbuild.ini file. As of DITA-FMx 1.1.11, the EDD in this template is the default EDD; additional context rules have been added to support the alternate heading styles used for appendix and part files.
DITA-FMx_1.1\dtd\
fmxbook.dtd - Custom DTD file referenced by the bookmap2fmbook.xsl file. Created from the ditabase.dtd file.
All remaining files are the default DITA 1.1 DTD files.
DITA-FMx_1.1\Map\
map_1.1.edd.mif - The Map application EDD (in MIF format). Defines the data model structure and provides the element definitions. Save to FM format before modifying. Remember to import this into the template (below) if you make and changes to the EDD.
map_1.1.rules.txt - The Map application read/write rules file.
map_1.1.template.fm - The Map application template file. Defines the page layout and formatting as well as the character and paragraph styles used by the EDD.
structapps-stub_map_1.1.fm - The Map application definition stub file. Inserted into the structure application definitions file (structapps.fm).
DITA-FMx_1.1\Topic\
new~reference~simple ref.fm - A sample “reference” element template named “simple ref”.
new~task~simple task.fm - A sample “task” element template named “simple task”.
new~topic~simple ref.fm - A sample “topic” element template named “simple topic”.
structapps-stub_topic_1.1.fm - The Topic application definition stub file. Inserted into the structure application definitions file (structapps.fm).
topic_1.1.edd.mif - The Topic application EDD (in MIF format). Defines the data model structure and provides the element definitions. Save to FM format before modifying. Remember to import this into the template (below) if you make and changes to the EDD.
topic_1.1.rules.txt - The Topic application read/write rules file.
topic_1.1.template.fm - The Topic application template file. Defines the page layout and formatting as well as the character and paragraph styles used by the EDD.