improve XML example
This commit is contained in:
parent
b1f20cb635
commit
e4d99e0708
1 changed files with 6 additions and 6 deletions
|
@ -196,29 +196,29 @@ used as $ fgfs --generic=file,out,1,/tmp/data.xml,xmltest
|
|||
<generic>
|
||||
<output>
|
||||
<binary_mode>false</binary_mode>
|
||||
<line_separator></line_separator>
|
||||
<var_separator></var_separator>
|
||||
<var_separator>\n</var_separator>
|
||||
<line_separator>\n</line_separator>
|
||||
<preamble><?xml version="1.0"?>\n\n<data>\n</preamble>
|
||||
<postamble></data>\n</postamble>
|
||||
|
||||
<chunk>
|
||||
<format>\t<set>\n</format>
|
||||
<format>\t<set></format>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<node>/position/altitude-ft</node>
|
||||
<type>float</type>
|
||||
<format>\t\t<altitude-ft>%.8f</altitude-ft>\n</format>
|
||||
<format>\t\t<altitude-ft>%.8f</altitude-ft></format>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<node>/velocities/airspeed-kt</node>
|
||||
<type>float</type>
|
||||
<format>\t\t<airspeed-kt>%.8f</airspeed-kt>\n</format>
|
||||
<format>\t\t<airspeed-kt>%.8f</airspeed-kt></format>
|
||||
</chunk>
|
||||
|
||||
<chunk>
|
||||
<format>\t</set>\n</format>
|
||||
<format>\t</set></format>
|
||||
</chunk>
|
||||
</output>
|
||||
</generic>
|
||||
|
|
Loading…
Reference in a new issue