Re: [PHP] Stripping illegal characters out of an XML document

2002-06-06 Thread Analysis & Solutions
Heya: On Thu, Jun 06, 2002 at 04:54:15PM +0100, Daniel Pupius wrote: > Thanks, I've created a delimited file of all the HTML Character references. > I then loop through and do a replace as previously suggested. However, > IE's XML Parser still doesn't like the é which represents é > > For all

Re: [PHP] Stripping illegal characters out of an XML document

2002-06-06 Thread Daniel Pupius
Thanks, I've created a delimited file of all the HTML Character references. I then loop through and do a replace as previously suggested. However, IE's XML Parser still doesn't like the é which represents é For all intents and purposes it's ok and works with the RDF processor. However, I'd like

Re: [PHP] Stripping illegal characters out of an XML document

2002-06-06 Thread Analysis & Solutions
On Thu, Jun 06, 2002 at 12:47:57PM +0100, Daniel Pupius wrote: > Hi there. I'm working with RDF/XML that is strict on what characters are > allowed within the elements and attributes. I was wondering if anyone had a > script that processed a string and replaced all illegal-characters with > their

[PHP] Stripping illegal characters out of an XML document

2002-06-06 Thread Daniel Pupius
Hi there. I'm working with RDF/XML that is strict on what characters are allowed within the elements and attributes. I was wondering if anyone had a script that processed a string and replaced all illegal-characters with their HTML code, for example "&" is converted to & and " to ". It should also