- Messages
- 3
- Country

I have just started creating XML gauges for FSXA after much reading and experimenting.
My simple first gauge works fine:
I then noticed that the XMLTools EventHandler.xml has an entirely different structure:
My questions are: which style of XML should I be using?
And is there a guide to what the elements are called?
Thank you.
My simple first gauge works fine:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Just for experienting -->
<SimBase.Document Type="AceXML" version="1,2" id="XXXGau">
<Descr>AceXML Document</Descr>
<Filename>xxxGau.xml</Filename>
<SimGauge.Gauge id="Gauge" ArtDirectory=".">
<FloatPosition>0.000,0.000</FloatPosition>
<Size>500,500</Size>
<Image id="xxx.bmp" Name="xxx.bmp">
<Transparent>True</Transparent>
<Bright>False</Bright>
</Image>
<Element id="Egt">
<FloatPosition>34.000,50.000</FloatPosition>
<GaugeText id="GaugeText">
<BackgroundColor>White</BackgroundColor>
<Bright>False</Bright>
<FontColor>DarkBlue</FontColor>
<FontFace>Segoe Print</FontFace>
<FontHeight>26</FontHeight>
<GaugeString>%( (A:GENERAL ENG EXHAUST GAS TEMPERATURE:1, rankine) 491.67 - 1.8 /)%EGT:%!3d!</GaugeString>
<HorizontalAlign>CENTER</HorizontalAlign>
<Size>108,34</Size>
<Transparent>True</Transparent>
</GaugeText>
</Element>
</SimGauge.Gauge>
</SimBase.Document>
I then noticed that the XMLTools EventHandler.xml has an entirely different structure:
Code:
<Gauge Name="XMLEventHandler" Version="1.0">
<Comment> By Tom Aguilo May 2014 </Comment>
<Size X="245" Y="270" />
some code
</Gauge>
My questions are: which style of XML should I be using?
And is there a guide to what the elements are called?
Thank you.

