David Culp wrote:

I'm trying to reduce the 737 xmlauto config to a manageable size by splitting it up into three parts, one each for autothrottle, pitch modes, and roll modes. This won't parse:

<PropertyList include="737-autothrottle.xml"
              include="737-autopilot-pitch-modes.xml"
              include="737-autopilot-roll-modes.xml">
</PropertyList>

Is there a way to do multiple includes (other than an include for each pid-controller seperately, which would be a last resort)?

XML attribute names have to be unique. We could change to code to support something like this:


  <PropertyList include="file1.xml file2.xml file3.xml">
   ...
  </PropertyList>

The problem there is that whitespace is allowed in filenames on some OS's, so we'd have to escape it, and things would get fairly messy.

The best approach is usually to do the include off of a subelement instead, but I see how that's awkward with all the top-level pid-controller elements.


All the best,



David


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

Reply via email to