public static function fromDom($dom) { $me = new self(); $me->loadDom($dom); return $me; }
public static function fromDom($dom, $contextNode = null) { $me = new self(); $me->loadDom($dom, $contextNode); return $me; }