Yu. M. Sherstyuk
Military University of Communication, Saint-Petersburg
Syntax-directed translation may be used to build
XML file editors. The main purpose of intelligent XML editors is to provide
a high-level user interface. Such interface must ensure full information
on possible user actions at each point of dialogue and on appropriate XML
tags. The editor can be built around a logical processor — realization
of a special abstract automaton. The control table of this automaton is
built using the contents of the DTD file and based on calculation of the
modified Wirth—Weber ratios. This approach allows the user to create syntactically
correct XML files without knowledge of DTD.