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

Effenberg effenberg at terra.com.br
Fri Jan 17 22:38:15 EST 2003


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: 

<time> 
<1>XX:XX:XX</1> 
<2>XX:XX:XX</2> 
<3>XX:XX:XX</3> 
... 
</time> 

Although all the C and the Win32 part of this test app work perfectly, I had absolutely no success on creating/writting the xml doc until now, any help will be fantastic, Thanks!


More information about the Expat-discuss mailing list