Does a book on xml really help?
That's just the general structure, most of the problems/challenges arise due to the FS-specific syntax.
I would really be interrested if I there's a lot to learn by dvelving more into pure xml.
Just really getting into this myself.
This is from a reply to another post I have prepared. Most is covered above already, but maybe there are useful bits.
It's not that difficult. You'll get the hang of it after a few hours. .
Great introductory tutorials:
http://www.fs2x.com/Tutorials.htm
http://msdn.microsoft.com/en-us/library/cc526953.aspx
Good tutorial and info, for FSX/ESP, not everything will work with FS9, but very good documentation.
Arne Bartel's XML Gauge Syntax Description with plenty of valuable additional information
http://www.flightsim.com/kdl.php?fid=49167
FAQ
http://forums1.avsim.net/index.php?showtopic=69688&st=0
Forums:
http://www.aerodynamika.com/cgi-bin/yabb/YaBB.cgi
http://www.fsdeveloper.com/forum/forumdisplay.php?f=64
Flightsim, avsim, SOH have dedicated forums
Other:
http://blogs.technet.com/engauged/default.aspx
And remember:
- A: L: P: E: variable need _units_! e.g. (L:MyTimeVariable,minute)
G: K: variables don't need units, e.g. (G:Var1)
And check these units are spelt the right way (see sdk).
- Spaces count! Put a space between every operator and variable.
- Capitalisation often counts! (e.g. text attribute BackgroundColor="..." works, Backgroundcolor= doesn't... )
From Arne Bartel's Intro: "The syntax is in general very sensitive to errors, if only one small space is in the wrong place the whole gauge might dissapear, so it’s always advisable to start from simple arrangements and work slowly up to more complex forms."
Heed the advice, and plan to spend a lot of time debugging...
Good luck!
Gunter