Reading Configuration information from a text file

How to create a configuration XML file, given a set of Procedure files? Spire needs to know

  1. The order in which the Procedure files must run.
  2. Which directories the Procedure files belong in.
  3. How the Procedure files are organized into dialogs.

  4. This is enough to create a config.xml file. But this file still requires some editing. Additional information is required:
  5. The source location(s) of the Procedure files (the <Locations> tag).
  6. Project info in (title, image, helpurl) in the <Main> tag
  7. Button info for each Procedure file (comment_label, button_text, program_name)

Creating a Spire configuration from a text file.

The text file must contain a list of SPIDER Procedure files, and specify which directories and dialogs they belong to. Python programs and other non-SPIDER executables are also allowed. The order of the list indicates the order for running the programs.