Re: [PHP] Parsing Poor XML into to PHP

2007-09-17 Thread Gavin M. Roy
I'm not sure, but perhaps tidy can fix the broken elements of the xml file... I don't remember if it will close your quotes or just drop the element from the tag. On 9/17/07, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > > Pour examples of xml, but this is what I want to do. I have a quiz. > >

[PHP] Parsing Poor XML into to PHP

2007-09-16 Thread John Taylor-Johnston
Pour examples of xml, but this is what I want to do. I have a quiz. BASICALLY How do EXTRACT THE Contents and Values of these tags into strings and arrays I can work with. Depending upon the students answer, compared to the criterion below, I need to calculate a value = x/1. The score could v