Lists Home |
Date Index |
> I have a instrument panel in which there are a number of instruments. The
> behaviour of these instruments is interdependent in the panel and also some
> of the instruments are affected or affect instruments in other panels. I
> want not to keep this behaviour coupled with the language. I want that
> things are changeable by just changing the XML file.
> Any help, any DTD that corelates to this.
I have no DTD, but the FlightGear project uses XML configuration files
to define the presentation of its instruments:
It's possible to add new instruments and gauges without touching the
C++ code; we do, however, use C++ to calculate the values that gauges
may display (the number shown by the altimeter or airspeed indicator,
for example, is rarely all that close to the plane's absolute altitude
or true airspeed). We also use XML to define the schematics for the
aircraft electrical systems.
The instrument XML is oriented mainly towards presentation, however --
if you're looking at an engineering application, it's probably not
what you want.
All the best,
David Megginson, firstname.lastname@example.org, http://www.megginson.com/