Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Beginning in XML

Featured Replies

Hello everyone,

I wanted to start learning how to write in XML, and I wanted to start off on what I believe is a simple method. I want to write an XML file that will create wingtip vortices in FS9 under the following conditions:

- Temperature is within 5 degrees  Celsius of the dew point
- Winds below 20 knots
- Angle of attack greater than 5 degrees
- Speed less than 160 knots

I've got everything set up, now I just need to actually write the file. However, I have no idea where to begin or what I need to know.

FS2004 Forever

http://www.fs2x.com/Tutorials.htm

 

Note, there are two schemas, or styles of XML used to write FS gauges.  "FS9" schema (actually, I believe the origin is FS2002) and "FSX" schema.  FS9 works in FS9, FSX, and P3D and most people would say it is the simplest and easiest to write.  FSX ("ACES") schema is not backward compatible in FS9. The XML format used in the tutorial linked above is FS9.  Most XML gauge examples you find are FS9 format.

 

The Flight Sim SDK is helpful too, if for no other reason than to list all of the flight sim variables and XML math and string operators.  Here's the online versions provided when FSX came out.  Variables and XML Gauges.

 

Another good place to start is to study the XML gauges that ship with Flight Sim ... check out the Beech Baron. 

 

Our forum moderator, Bill Leaming, may want to add more here too ... he advocates use of the older FS9 schema.  He's also answered the "Where are XML Tutorials?" questions way more than any other person on the planet.

 

Bob

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.