[libgfc Index] [libgfc Hierarchy] [Headers]
The GFC XML processor More...
#include <utils/src/gxmlwf.h>
The GFC XML processor. This contains a wrapper of James Clark's expat parser
[public]
parse an XML file. The logical structure of the document is represented by a tree of elemnets. The root of the tree can be accessed using getRoot() method. Returns 1 if no error encountered; returns 0 if it is not a well-formed XML file.
[public]
return the root element of the currently built xml tree. All the other elements can be accessed through traversal starting at root.
[public]
search for an element with given key in the document tree. return the first element found.
key | is the key to be matched. Default is the name of the element. |
[public]
print all the elements.
[public]
write the parsed tree (possibly with updated elements) back to a file as a well-formed XML.
Documentation generated by lqian@lqian-sun on Wed Jul 14 09:36:10 EDT 1999 | Kdoc |