Skip to content

Using libXml2 to extract info from a FlightGear Aircraft *-set.xml file.

License

Notifications You must be signed in to change notification settings

geoffmcl/fgxmlset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fgxmlset project

Description

Update: 20170424 - Now replaced with fgsetxml... using xmpParse library... This project is depreciated

This small project was to explore the libXml2 UI, and building from source requires finding libXml2 in your system.

It is built to only handle FlightGear special Aircraft ...-set.xml file. And the file should be in the standard fgdata base data directory, since it has some quite special relative path handling. And it must find the correct 'root' node name, <PropertyList>

But aside from that it is a reasonable example of how to find and extract specific data from a 'known' xml file.

Building

The building is using cmake to find libXml2, and generate the desired build files.

So for a standard unix makefile build
$ cd build
$ cmake .. [-DCMAKE_INSTALL_PREFIX]
$ make
$ [sudo] make install (if desired)

For Windows, use the cmake GUI and set source directory, the binary directory to build, or

> cd build
> cmake .. [-DCMAKE_INSTALL_PREFIX]
> cmake --build . --config Release
> cmake --build . --config Release --target INSTALL (if desired)

Regards,
Geoff.
20141030

;eof

About

Using libXml2 to extract info from a FlightGear Aircraft *-set.xml file.

Resources

License

Stars

Watchers

Forks

Packages

No packages published