[lug] Advice on writing a config file (probably XML)
ed at eh3.com
Sun Dec 14 06:55:25 MST 2003
On Sat, 2003-12-13 at 20:49, Jon Bowman wrote:
> Hi I'm looking for some advice. I'm writing a Gnome application
> handle wireless profiles. Anyway I need to keep track of the
> data in the profile for example would include
> ESSID, WEP KEY, Network Device amongst some others
> Anyway I assume XML is probably the cleanest way to write a
> file. Never having done this before or used XML does anyone have
> recommendation / pointers to get me started. The application is
> in C so are there any libraries / functions I can make use of ?
> Any help , advise and pointers or just personal experience would
I'm more of a C++ type, so I've used both Xerces-C++:
They're both about equally easy to get started using. From the
examples, you should be able to add some simple XML parsing to your code
in a day or two.
If you wish to stick with C, then theres libxml2 which is part of the
and is used pretty extensively within Gnome.
Good luck with your XML (en|de)coding!
Edward H. Hill III, PhD
office: MIT Dept. of EAPS; Room 54-1424; 77 Massachusetts Ave.
Cambridge, MA 02139-4307
email: eh3 at mit.edu, ed at eh3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the LUG