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
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
Perhaps I am misunderstanding your problem, so let me ask it another
way. Is the problem that you are getting characters entered into the
database that are encoded in one way (e.g. UTF-8) when you expected the
characters to be encoded in another way (e.g. ISO-8859-1)?
No, the problem involves
I would also suggest that you look into SOAP for this project. My
office hosts a search program that uses SOAP to go out and search the
databases of remote sites, most of which run architectures completely
different than ours. It would probably be pretty easy to use SOAP to
get the data off of
it to stop this behavior.
Thanks.
-
Doug Jones
Co-Op Web Developer
-Original Message-
From: Greg Beaver [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004 1:37 AM
To: Jones, Douglas 1
Subject: Re: help with PEAR and SOAP [offlist]
Douglas 1 Jones wrote
Hello,
I have the SOAP PEAR package set up correctly to the point where I can send a
request and get a response. However, my web service is designed to return XML
back to the caller. When I do this, all of the tags have their and
converted to lt; and gt;. I have spent much time searching
6 matches
Mail list logo