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