This editor is available from the Programs tab of the Configuration Editor. The Configuration Editor is only available in the professional edition.
The Programs tab in the Configuration Editor allows you to view and edit the tag name programs that are associated with the currently selected tag name or attribute being configured. The program for a tag name is executed each time the tag name is opened (or ended) in a document that is being validated. These programs are also called tag name programs because they are generally run when certain tags are encountered in a document that is being validated. They can also be run when certain attributes are encountered.
See also the Tag Name Programming Language topic.
•Enable open program for tag - Check this box to enable the start tag name program for the tag name being configured. This option is not enabled by default.
•Enable end program for tag - Check this box to enable the end tag name program for the tag name being configured. This option is not enabled by default.
•Enable attribute program - Check this box to enable the attribute program for the attribute being configured. This option is not enabled by default.
•Edit Program Type - Use these radio buttons to select the program to edit. See below for an explanation of program types.
•Open tag name - run when the tag selected in the Tag Name Being Configured combo box is opened
•End tag name - run when the tag selected in the Tag Name Being Configured combo box is ended (closed)
•Attribute program - run when the attribute selected in the Attribute Being Configured combo box is used
•Text - run when text is encountered that is not in a tag
•Start validation - run just prior to beginning a validation
•End validation - run at the end of the validation after all tag name and text programs have run
•Functions - contains functions that can be called
The tag name programs can be exported to an XML file for editing and then imported. This makes certain types of editing easier and allows for longer programs (the Program Editor is limited).
These import/export options are available in the integrated editor when the Options->Configuration Editor->Show Advanced Options menu item is checked. Use Export programs to file to export the programs to an XML file and Import programs from file to import the programs back after editing.
When using these import/export options, be sure to:
•Use & for & in the tag name programs.
•Use < for < in the tag name programs.