4 * Class CRM_Core_CodeGen_Util_Xml
6 class CRM_Core_CodeGen_Util_Xml
{
12 * @return SimpleXMLElement|bool
14 public static function parse($file) {
15 $dom = new DomDocument();
16 $xmlString = file_get_contents($file);
17 $dom->loadXML($xmlString);
18 $dom->documentURI
= $file;
20 $xml = simplexml_import_dom($dom);