protected function extractTemplateConfiguration(DOMElement $template, DOMXPath $xpath)
    {
        $configElements = $xpath->query('./docbook:ezconfig', $template);
        if (0 === $configElements->length) {
            return [];
        }

        return $this->extractHash($configElements->item(0));
    }