What are some common issues when trying to read XML files with HTML tags using SimpleXML in PHP?

When trying to read XML files with HTML tags using SimpleXML in PHP, a common issue is that the HTML tags may not be properly escaped, causing parsing errors. To solve this issue, you can use the `html_entity_decode()` function to decode the HTML entities before parsing the XML.

$xmlString = file_get_contents('example.xml');
$xmlString = html_entity_decode($xmlString);
$xml = simplexml_load_string($xmlString);