[PHP] xml_parse and xml entities

2002-12-12 Thread Russ Taylor
Hi all, I'm writing a guestbook and message in the guestbook might containso to make sure this wasn't a problem I was advised to great entities in my xml file like so !DOCTYPE guestbook [ !ELEMENT message (name, email, date, text) !ATTLIST message id CDATA #REQUIRED !ELEMENT name

Re: [PHP] xml_parse and xml entities

2002-12-12 Thread Khalid El-Kary
hi Russ, why don't you just str_replace the , and with their entities and when they get extracted the parser will normally replace them with their original form, won't it? Regards, Khalid Al-Kary Hi all, I'm writing a guestbook and message in the guestbook might containso to make