PHP not have a function for XML-safe entity decode? Not have some xml_entity_decode?
问题 THE PROBLEM : I need a XML file "full encoded" by UTF8; that is, with no entity representing symbols, all symbols enconded by UTF8, except the only 3 ones that are XML-reserved, "&" (amp), "<" (lt) and ">" (gt). And, I need a build-in function that do it fast : to transform entities into real UTF8 characters (without corrupting my XML). PS: it is a "real world problem" (!); at PMC/journals, for example, have 2.8 MILLION of scientific articles enconded with a special XML DTD (knowed also as