One of the Morpho primary tabs is labeled "Demo Editor". This tab shows the prototype of an alternative to the XML editor that appears under the "Edit Document" tab. This alternate editor was created to investigate ways to make data entry easier. An example screen from this editor is shown below:
This editor is based on a DTD Parser (http://www.wutka.com/dtdparser.html). DTDs to be used to create new documents are selected by clicking on the button at the top with the "..." label. A file chooser will appear and the dtd file of interest should be selected. The DTD file name will appear in the text box at the top. ("catalog/eml-dataset.dtd" as indicated in the example screen). Clicking the "Parse DTD" button will then read the DTD file and create an outline on the left which contains at least on of each of the elements defined by the DTD, including optional elements and 'choices' defined in the DTD. The outline displays the hierarchy as defined in the DTD. Clicking on the top line of the outline will result in the display of a set of nested panels on the right, as shown above. The user can then click on one of the text boxes and enter metadata values. Simply clicking the 'Tab' key will enter the data typed and move the insertion point to the next text box. Entering XML metadata is thus more like simply filling out an on-line form.
One can also 'right-click' on any of the items in the outline to bring up a 'pop-up' menu as indicated below. The popup displays information about the selected item in the outline and allows the selection to be deleted or duplicated.
Note that there are also "Save" and "Open" buttons in the lower left corner. These are used to 'Save' the current information in XML format or open an existing XML document and display it. [Note that the current version of this editor is incomplete. For example, it ignores DTD information within an XML document when opening it.]