[Expat-discuss] Newbie need very basic help on creating a xml file using EXPAT

Fred L. Drake, Jr. fdrake at acm.org
Sat Jan 18 00:50:58 EST 2003


Effenberg writes:
 > Could anyone give me a simple example on how to use EXPAT to create
 > a very simple xml file? All I read on EXPAT site is a little to
 > techie for me, I am looking for something clearer.  Just for
 > learning purposes, I am trying to use it by creating a C+Win32
 > program that gets the system time (hh:mm:ss) every 10 minutes and
 > writes it to a .xml doc like:

Expat provides no facilities for generating XML.  From C, you probably
want to use a function like fprintf().


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation



More information about the Expat-discuss mailing list