Hi,
I am parsing an RSS feed using PHP's XML parser stuff. I have the parser working quite nicely but I've noticed that entities in character data do not come out properly, that is, I don't get most of the text for an element containing cdata with entities in it.
One such example would be £ for a UK pound sign. If the cdata has one of these, e.g
<element>Chocolate bars to go up £20 in april!</element>
Then I get out of the characterData($parser, $data) function for $data
#163;20 in april!
So it breaks on the ampersand I suppose. I found like one post on the whole of Google about this but did not really get anywhere.
Your help appreciated