Neos.Neos/Classes/Domain/Service/SiteExportService.php
protected function exportSites(array $sites, $nodeTypeFilter)
    {
        $this->xmlWriter->startDocument('1.0', 'UTF-8');
        $this->xmlWriter->startElement('root');

        foreach ($sites as $site) {
            $this->exportSite($site, $nodeTypeFilter);
        }

        $this->xmlWriter->endElement();
        $this->xmlWriter->endDocument();
    }
protected function exportSites(array $sites, $nodeTypeFilter)
    {
        $this->xmlWriter->startDocument('1.0', 'UTF-8');
        $this->xmlWriter->startElement('root');

        foreach ($sites as $site) {
            $this->exportSite($site, $nodeTypeFilter);
        }

        $this->xmlWriter->endElement();
        $this->xmlWriter->endDocument();
    }
protected function exportSites ( array $ sites , $ nodeTypeFilter ) { $ this -> xmlWriter -> startDocument ( '1.0' , 'UTF-8' ) ; $ this -> xmlWriter -> startElement ( 'root' ) ; foreach ( $ sites as $ site ) { $ this -> exportSite ( $ site , $ nodeTypeFilter ) ; } $ this -> xmlWriter -> endElement ( ) ; $ this -> xmlWriter -> endDocument ( ) ; }
Exports the given sites to the XMLWriter

@param array<Site> $sites
@param string $nodeTypeFilter
@return void
Exports the given sites to the XMLWriter