loadHTML($gnbHtml, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD);libxml_clear_errors();// 브레드크럼 아이템 수집$xpath = new DOMXPath($dom);$breadcrumbItems = [];$dep1Nodes = $xpath->query("//li[@class='gnb__list']");foreach ($dep1Nodes as $dep1Node) { $dep1Link = $dep1Node->getElementsByTagName('a')[0]->getAttribute('href'); $dep1Path = parse_url($dep1Link, PHP_URL_PATH); $dep2Node = $dep1Node->..