Andy Ross writes:

 > <sim>
 >   <foo>A</foo>
 >   <foo>B</foo>
 > </sim>

This already works as you would expect.  Multiple children with the
same name are automatically numbered sequentially when there is no "n"
attribute, so the above is synonymous with

  <sim>
   <foo n="0">A</foo>
   <foo n="1">B</foo>
  </sim>

I 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.


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to