Yes, I have tried htmlentities. Unfortunately it doesn't seem to be catching the characters that are plaguing my program. -- Doug Jones Co-Op Web Developer douglas.1.jones@xxxxxxxx -----Original Message----- From: John Holmes [mailto:holmes072000@xxxxxxxxxxx] Sent: Wednesday, January 05, 2005 11:32 AM To: Jones, Douglas 1 Cc: php-general@xxxxxxxxxxxxx Subject: Re: 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 htmlentities()? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php