I am trying to make an application which would enable on the client side to connect to existing servers to extract data via xml.
The xml data is along the lines of.
Code: Select all
<?xml version="1.0"?>
<PropertyList>
<generic>
<output>
<binary_mode>false</binary_mode>
<var_separator> </var_separator>
<line_separator>\n</line_separator>
<preamble>register FlightGear</preamble>
<chunk>
<type>string</type>
<format>put</format>
</chunk>
<chunk>
<name>lat</name>
<type>float</type>
<node>/position/latitude-deg</node>
<format>lat %f</format>
</chunk>
<chunk>
<name>lon</name>
<type>float</type>
<node>/position/longitude-deg</node>
<format>lon %f</format>
</chunk>
<chunk>
<name>alt</name>
<type>int</type>
<node>/position/altitude-ft</node>
<format>alt %d</format>
</chunk>
<chunk>
<name>ground speed</name>
<type>int</type>
<node>/velocities/groundspeed-kt</node>
<format>gnd %d</format>
</chunk>
<chunk>
<name>heading</name>
<type>int</type>
<node>/orientation/heading-deg</node>
<format>hdg %d</format>
<factor>10</factor>
</chunk>
<chunk>
<name>UTC hour</name>
<type>int</type>
<node>/sim/time/utc/hour</node>
<format>hrs %d</format>
</chunk>
<chunk>
<name>UTC min</name>
<type>int</type>
<node>/sim/time/utc/minute</node>
<format>min %d</format>
</chunk>
</output>
</generic>
</PropertyList>

The ultimate aim is to have the application read the data and keep updating it every minute or so to update a live map.
are there any tutorials that i can follow that would help in my quest?
Thanks
Alex