Adapt It comes with a default book folder structure. This structure is based on the books of the Bible including 66 books arranged into four divisions. In addition, it provides a fifth division for "Other Texts."
Adapt It controls this structure by the use of an external XML file called books.XML. This file is stored in the Adapt It Work Folder or the Adapt It Unicode Work Folder. A sample of the file looks like this:
This file can be edited if your project needs to use a different structure. In the illustration you can see that each line contains a separate XML instruction. Only two types of XML lines are of interest here:
<DIV …
This code defines the name of a division. To change the name, replace the words within the double quote marks with a new name of your choice.
<NAMEPAIR …
All of the entries between two <DIV entries belong to the division. Each of these entries contains three properties.
Folder gives the name of the folder that is built for the project.
View is the name that the user reads in using the Choose a Book Folder dialog. Usually the same as the folder name.
Code is a three letter upper case code for the book.
Adapt It use this code to verify that any document moved into the folder is valid for that folder. For example, if you want to move a document into the Genesis folder, the first few characters of the source text must read "\id GEN". The SMF \id tells Adapt It that the identification of book is to follow. The GEN tells Adapt It that this document is all or a portion of Genesis.
Since the books.XML file is located in the Work folder it applies to all projects in the folder.