Modifying the Main Map File

Modify the main map file to reference the subordinate file.

  1. Make sure the first line of the main map file is:
    <?xml version="1.0"?>
  2. Between the XML version declaration and the opening adapter tag, add these lines:
    <!DOCTYPE adapter SYSTEM "adapter.dtd" [
    ]>
  3. For each subordinate map file:
    1. Between the two lines just added, add:
      <!ENTITY SUBREF SYSTEM "SUBFILE">
      where SUBREF is a string to reference the subordinate file and SUBFILE is the path and file name of the subordinate file itself. Enclose the path and file name in quotation marks.
    2. Remove the content that you put in the subordinate map file.
    3. Insert a string like the following to include the content from the subordinate map file:
      &SUBREF;
      where SUBREF is the string you specified to reference the subordinate file.