On Tuesday, October 29, 2002, at 04:42  AM, David Megginson wrote:

Jonathan Polley writes:

Any recommendations?  This is not an immediate need since I have a
temporary work around for my type definition problem, but I would like
a better long-term solution.
My main recommendation is to build an abstract library on top of the
XML, like our property manager (only perhaps simpler) -- that way, XML
parsing is completely separate from program logic, and if you need to
change the XML details, you can do it all in one place.
For the vast majority of what will be using XML, that was the approach I was planning to take. This will be used to configure the application so I was hoping to load the XML file, extract the desired information, then purge the file fro memory. The FlightGear property manager is most definitely overkill for what I need done.

The big problem will be with the data structure definitions. I think Norman's XML-RPC link will provide a good starting point. The only problem is that I need to match a preexisting, packed, data structure (it contains 8- and 16-bit integers along with some other nasties).

My final language will be C, but using python reduces the code-link-damn cycle down to just code-damn. Well, that and it is just easier to work with.

Thanks for your help!

Jonathan Polley


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

Reply via email to