OK Martin, it looks like your suggestion will work for at least this part of the routine. Thanks much! I will be studying it some more in an effort to understand it.
Cetin - the xmltv.exe is the program you run to download the data stream. I suspect the source code is available somewhere on sourceforge but I can't point you to it right now. Thanks for all your help. btw - microsoft also has a website that will create the schema automatically, see
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/xmlgeneral.aspI tried it with a simple extract of my file and it didn't work. Probably something simple I'm missing. Oh well, I'll explore the DOM for a while since it seems to be a little more familiar ground.
Thanks again.
- Don