--- Pete <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, James Keeline
> <[EMAIL PROTECTED]> writes
> >--- Pete <[EMAIL PROTECTED]> wrote:
> >> But it should be
> >> header("Content-Type: text/xml; charset=iso-8859-1", true);
> >>
> >> --
> >> Pete Clark
> >
> >That may solve your problem but I would also recommend using the
> htmlentities()
> >function to process your values. A lower case E with an acute accent will
> >become é so searching values can be tricky, especially if the user
> does
> >not input the accent. However, for outputs, it is quite useful.
> >
> >James
>
> Searching isn't relevant here, since the original is all held in MySQL,
> where the searching is done, in it's original format.
>
> However, I tried briefly, but the XML output stopped dead at the & in
> é and couldn't output the data, so I didn't proceed in that
> direction.
>
> --
> Pete Clark
>From reading these links, I guess the problem came because the DOC-TYPE you are
using does not have the HTML entities defined. It may not be your solution but
it is worth realizing that this is a valid approach under the right conditions.
http://www.webdeveloper.com/forum/showthread.php?t=121012
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references
James