PropertyList XML files: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (adding propertytree tag)
No edit summary
Line 15: Line 15:
    
    
  </PropertyList>
  </PropertyList>
[[Category: XML]]

Revision as of 21:05, 3 December 2010

This article is a stub. You can help the wiki by expanding it.

This page is meant is introduce new FlightGear users to the PropertyList XML file format, this is basically an XML based file format specifically created for use by the FlightGear Property Tree.

For additional background information, you'll also want to refer to $FG_ROOT/Docs/README.introduction.

Most configuration files in FlightGear are XML-encoded* property lists. The root element of each file is always named <PropertyList>. Tags are almost always found in pairs, with the closing tag having a slash prefixing the tag name, i.e </PropertyList>. The exception is the tag representing an aliased property. In this case a slash is prepended to the closing angle bracket.

A minimal example of a complete property list encoded XML file, looks like this:

<?xml version="1.0"?>
<PropertyList>
 
</PropertyList>