OK, this is an icky hack, but it’ll remove stray & from crappy XML:
$data = preg_replace( “/&(?!amp;|gt;|lt;|quot;)/”, “”, $data );
Ideas and Tips from the Team
OK, this is an icky hack, but it’ll remove stray & from crappy XML:
$data = preg_replace( “/&(?!amp;|gt;|lt;|quot;)/”, “”, $data );
Posted in Uncategorized.
– June 22, 2010
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.