Hi
How do I get an xml feed that contains characters like '&' to validate to html standards when I parse it with simplexml?
Is there a function that will automatically change & to & for example?
Also is there a function to strip tags from the feed.. So a feed that has <p>blah blah blah</p> is changed to blah blah blah?
I'm using this below but is there something that will do it for all tags?
$tags = array("<p>","</p>");
$description[$j] = str_replace($tags, "", $description[$j]);
Thanks
Asa