XML Code for the Import Individual Text, CSV, or Excel Files Process
8 | Reexamine the dialog shown in Figure 8 as you consider the following comments and the relevant XML code. |
The GUI for the Import Individual Text, CSV, or Excel Files process shows a common description of the process and general directions for its use. Following this description are three tabbed panes (General, Options, and Wide Data) that divide the functional parameters of the process into discrete sections. Finally a set of functional buttons, common to all JMP Genomics processes, are found at the bottom of the GUI.
Now let's consider the XML code for this process, which specifies the graphical user interface. This code is named DataImportEngine.xml and is located in the same folder as the SAS code.
Note: Only relevant portions of the XML code are shown here. To examine all of the XML code for this process, navigate to the ProcessLibrary folder and open the DataImportEngine.xml file using a text editing program.
• | The name of the process is defined by the first line of the XML code, as shown below. |
• | The tags and attributes for each input parameter define how they are presented in the GUI. |
• | Each description block generates online help that appears in the GUI when the user clicks on the icon to the right of the parameter entry field. |
• | The GUI parameter widgets appear in the dialog in the order that they are specified. |
• | Finally, there is no XML code for the functional buttons located at the bottom of the GUI (shown below). These buttons are generated automatically when the Generate Dialogs from XML command is invoked. |