re: Simple XML Subset Parser



hi,

here's a short example with manually defined tags:

http://cvs.sourceforge.net/viewcvs.py/bygfoot/bygfoot2-unstable/src/xml_country.c?view=markup

and a corresponding xml file that can be parsed:

http://cvs.sourceforge.net/viewcvs.py/bygfoot/bygfoot2-unstable/support_files/definitions/england/country_england.xml?view=markup

if the xml files don't have to be edited by hand, one can
use an enum both for the tags and for the states. example (a part of
the load/save system; nobody tampers with the xml files manually, only
functions read and write them)::

http://cvs.sourceforge.net/viewcvs.py/bygfoot/bygfoot2-unstable/src/xml_loadsave_table.c?view=markup

all examples are taken from my football manager project,
http://bygfoot.sf.net.

cheers,

gyözö

-- 
Disclaimer: "These opinions are my own, though for a small fee they be
yours too."
                -- Dave Haynie

Hello,

I am trying to figure out how to use "Simple XML Subset Parser"
(http://developer.gnome.org/doc/API/2.0/glib/glib-Simple-XML-Subset-Par
ser.html). Can somebody point me to a simple example code? I don't know
how to start.

Thanks.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]