Re: [PHP] XML Filters for illegal characters

2005-01-06 Thread Richard Lynch
Jones, Douglas 1 wrote: I'm wondering if anyone knows of a filter that can take data to be wrapped in XML tags and filter this data encoding any illegal XML characters or, if they cannot be encoded, remove them. The problem I have is a database that contains text that must be wrapped in XML.

[PHP] XML Filters for illegal characters

2005-01-05 Thread Jones, Douglas 1
Hello, I'm wondering if anyone knows of a filter that can take data to be wrapped in XML tags and filter this data encoding any illegal XML characters or, if they cannot be encoded, remove them. The problem I have is a database that contains text that must be wrapped in XML. Some of this

Re: [PHP] XML Filters for illegal characters

2005-01-05 Thread John Holmes
Jones, Douglas 1 wrote: I'm wondering if anyone knows of a filter that can take data to be wrapped in XML tags and filter this data encoding any illegal XML characters Have you tried htmlentities()? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect:

RE: [PHP] XML Filters for illegal characters

2005-01-05 Thread Jones, Douglas 1
To: Jones, Douglas 1 Cc: php-general@lists.php.net Subject: Re: [PHP] XML Filters for illegal characters Jones, Douglas 1 wrote: I'm wondering if anyone knows of a filter that can take data to be wrapped in XML tags and filter this data encoding any illegal XML characters Have you tried