* Josh Babcock -- Monday 04 December 2006 15:27:
> Melchior FRANZ wrote:
> > * Melchior FRANZ -- Monday 04 December 2006 15:10:
> > > * Josh Babcock -- Monday 04 December 2006 14:35:
> > > > <PropertyList include="foo" include="bar">

> Right, I guess I wasn't clear.

You *were* clear. But wrong.  :-}


And here is the "law":

  Well-Formedness Constraint: Unique Att Spec
  No attribute name may appear more than once in the same start-tag or
  empty-element tag.  (http://www.w3.org/TR/2006/REC-xml-20060816/)



But we *do* already have a way to include files anywhere in the XML
file. But the contents aren't *inserted* there, but put under a node:

  <foo include="bar.xml"/>

This adds the contents of "bar.xml" under the node foo/. One could
now declare one property name 'void', which would mean that this isn't
meant to become a node itself, but the contents of "bar.xml" would
just be inserted in place of it: 

  <null include="bar.xml"/>

Or

  <_ include="bar.xml/>     :-)    OK, too obscure ...

m.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to