On Mon, Sep 24, 2012 at 7:49 AM, Erik Hofman wrote: > As far as I know XML is processed in order of appearance, so this should > do the trick: > > <PropertyList> > <config> > <weight-and-balance include="passengers.xml"> > > <passenger1-kg>75</passenger1-kg> > <passenger3-kg>80</passenger1-kg> > > </weight-and-balance> > </config> > </PropertyList>
I think that will result in /config/weight-and-balance/passenger1-kg[0] = 60 /config/weight-and-balance/passenger1-kg[1] = 75 /config/weight-and-balance/passenger2-kg = 60 /config/weight-and-balance/passenger3-kg[0] = 60 /config/weight-and-balance/passenger3-kg[1] = 80 /config/weight-and-balance/passenger4-kg = 60 I think you need <PropertyList> <config> <weight-and-balance include="passengers.xml"> <passenger1-kg n="0">75</passenger1-kg> <passenger3-kg n="0">80</passenger1-kg> </weight-and-balance> </config> </PropertyList> I've used similar schemes in the various materials.xml and effects definitions. -Stuart ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel