okay, thanks. BTW, is this the place to discuss how to use this xerces parcer, or is there a better place?
-----Original Message----- From: David Schulze [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 9:27 AM To: '[EMAIL PROTECTED]' Subject: RE: New question here XML docs must have a single root. Wrap your "file" elements with another element (perhaps "files") <files> <file> etc </file> <file> etc </file> </files> -----Original Message----- From: John Meyer [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 11:24 AM To: [EMAIL PROTECTED] Subject: New question here Hi, I have an XML document I want to parse in a C++ program that looks like this <file name="test.txt"> <uuhash>uiouipowerwe;</uuhash> <size>1025</size> <keywords>madcap fun</keywords> <category>entertainment</category> <comments>This is a file to have fun with</comment> </file> <file name="song.mp3"> <uuhash>uiouipowerwe;</uuhash> <size>40000000</size> <keywords>spears</keywords> <category>entertainment</category> <comments>hit me baby one more time</comment> </file> and so on. I've gotten on the DOMDocument and the element nodes, but how do I do this in a loop. Sorry if this is the wrong group, but I couldn't find the xerces-c-user mailing list. _________________________________________ John Meyer Programmer ICQ#: 63450423 More ways to contact me: http://wwp.icq.com/63450423 _________________________________________ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.455 / Virus Database: 255 - Release Date: 2/13/2003 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.455 / Virus Database: 255 - Release Date: 2/13/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.455 / Virus Database: 255 - Release Date: 2/13/2003 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]