Most of the items on the Ctrl-O), -> (Ctrl-S), -> , and -> all open, save, and close the current XML parser description as a Python module.Menu require very little explaination. -> (
By default, XMLObjApp performs a sanity test before saving the parser file. If the test fails, XMLObjApp will alert you and ask if the file should be saved anyhow. Saving a parser with errors in it is risky as it may not be possible to load the parser later to fix the errors.
You may disable this pre-save test in the preferences.
Ctrl-T) runs a quick check on the parser you have created to make sure it makes sense. It checks for obvious problems, such as putting illegal characters in attribute names and defining a class multiple times, to more subtle mistakes, such as neglecting to define a class you use.-> (
If successful, thewill pop up a simple dialog to notify you of success:
The failure messages are pretty self-explanitory, so I won't waste time detailing each one. Error messages are marked with a symbol and warnings with a symbol. Click on any message link to jump to the appropriate class page and field that caused the problem. Errors certainly need to be fixed. Warnings may need to be fixed.
One of XMLObjApp's more convenient features is the -> menu item. This function imports an XML file and takes some guesses about what sorts of classes, attributes, and children should go into your parser. The configuration will almost certainly not be correct, but it should save you tons of time in creating your parser. Simply import your XML file and then tweak all the settings until they match your file's structure.
By default, change this setting in the preferences.-> closes the current parser before importing the XML document. You may
-> allows you to set all of the following: