20,741
edits
m (property attributes and yasim differences: http://www.mail-archive.com/flightgear-devel@flightgear.org/msg04170.html) |
m (property indexing: http://www.mail-archive.com/flightgear-devel@flightgear.org/msg04184.html) |
||
Line 104: | Line 104: | ||
</PropertyList> | </PropertyList> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Multiple children with the same name are automatically numbered sequentially when there is no "n" attribute, so the above is synonymous with | |||
<syntaxhighlight lang="xml"> | |||
<sim> | |||
<foo n="0">A</foo> | |||
<foo n="1">B</foo> | |||
</sim> | |||
</syntaxhighlight> | |||
We tend often to include "n" anyway, just to help people keep track of where they are. That's most important when there are a lot of subproperties, not in a simple list like the above. | |||
To make property settings persistent in between FlightGear sessions, use the userarchive attribute: | To make property settings persistent in between FlightGear sessions, use the userarchive attribute: |