Programs Editor (tick_24Pro, cross_24Std, cross_24Lite)

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.

Radio Buttons

Edit Program Type - Use these radio buttons to select the program to edit. Start tag name programs are run when tags are opened. End tag name programs are run when tags are ended/closed. When editing an open or end tag name program, you must specify for which tag the program belongs to by selecting a tag from the Tag Name Being Configured combo box. Text programs are run when text is encountered that is not in a tag. The start validation program is run just prior to beginning a validation and the end validation program is run at the end of the validation after all tag name and text programs have run.

Options

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.

Alternate Way of Editing Tag Name Programs

The tag name programs can be exported to an XML file for editing and then imported. This makes certain types of editing easier. These 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 &lt; for < in the tag name programs.