Zend\Feed\Writer\Renderer\AbstractRenderer::setRootElement
Sets the absolute root element for the XML feed being generated. This helps simplify the appending of namespace declarations, but also ensures namespaces are added to the root element - not scattered across the entire XML file - may assist namespace unsafe parsers and looks pretty ;).
Signature
public function setRootElement(DOMElement
$root )
Parameters
$root
— DOMElement