Re: [PHP] Parsing XML files, logic involved...

2002-11-27 Thread Khalid El-Kary
hi, If you are sure that all your files come with attributes double quoted (not single quoted) you may want to use this parser class: http://creaturesx.ma.cx/kxparse/ hint: use the function has_attribute() to verify whether an attribute is available Regards, khalid ___

[PHP] Parsing XML files, logic involved...

2002-11-27 Thread Jeff Lewis
I have to write a script to parse XML files we receive daily. The XML files are all individual stories but there is an index page that comes with each batch that contains blocks of information for each story as follows (below). I need to run through this index file and for each story I need to g