Hi All,
I have the following XML file:
<?xml version='1.0'?>
<!DOCTYPE names [
<!ENTITY eacute "(ampersand)#233;">
]>
<site>
<section id='about' name='about'>
</section>
<section id='portfolio' name='portfolio'>
</section>
<section id='resume' name='résumé'>
</section>
</site>
I parse it with simpleXML, but by the time "resume" (you know-- the kind with e-acute characters) gets to the browser, the entities get mangled. Note that I am using the proper "DOCTYPE names" directive at top of the XML file, and I am saving my files as UTF8.
Also note that in the code above, I replaced the ampersand with the word "ampersand" so it wouldn't parse on this message board.
I think I'm missing a part of the big picture here. Any ideas?
Thanks,
L