Seamus Thomas Carroll wrote:

I figured out the what you mention. The part that confuses me is how to put the data from the xml file in a desired location. For example if I have the xml document:
...
<vehicle>
<id>1</id>
<lon>-128.553223</lon>
<lat>54.233123</lat>
</vehicle>
...


How does id, lon, lat initialize the variables int id, double lon, double lat?

You would have the callbacks in your visitor take care of it, but it's a bit of work the first time. Why not just use the property-tree code instead?



All the best,



David



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

Reply via email to