dcsimg
Linux Today: Linux News On Internet Time.





IBM developerWorks: Making application programming easy with GNOME libraries, Part 3

Jan 09, 2000, 17:15 (0 Talkback[s])
(Other stories by George Lebl)

"Last month, George showed you how to build a genealogy program with the GNOME libraries. This month he expands the application by making it possible to load and save data using the libxml library, a set of routines and structures for manipulating an XML tree in memory."

"Having built a functioning genealogy application in last month's GNOMEnclature column, we still need to add a way to load and save the application's data. This is a two-part process: we need to include file dialogs in the GUI, and use the libxml to read and save the file. We will be extending the application developed in the previous installment."

"Let's first concentrate on the actual loading and saving. For this we will use libxml. Libxml is actually a set of routines and structures for manipulating an XML tree in memory. You can load or save this tree to file with one call (xmlParseFile and xmlSaveFile). There are several ways we can use the library for our purposes...."

Complete Story

Related Stories: