Alan Canon
-
2004-01-06
- summary: xmlFile to xmlDoc to GtkTreeView utilities --> polidori-xml.c: xmlFile to xmlDoc to GtkTreeView utilities
polidori-xml.c provides Polidori with the ability to
read an XML file into a temporary xmlDoc structure
using libxml2 routines. The temporary tree is then
traversed and a GtkTreeStore is built from the
structure. Finally the GtkTreeStore is assigned as the
model of a GtkTreeView widget.
Other routines allow the saving of a GtkTreeStore as an
XML file. The goal is to make the two operations the
inverse of one another, so that any XML file read into
GtkTreeStore format will be perfectly reproduced if
that same GtkTreeStore is written using the
corresponding function.
polidori-xml.c comes with an associated header file,
polidori-xml.h.
Author: Alan B. Canon <acanon@bellsouth.net>
Date: January 6, 2003