You are here

public function DublinCore::getRootNodeAttributes in Views OAI-PMH 8

Overrides MetadataPrefixInterface::getRootNodeAttributes

File

src/Plugin/MetadataPrefix/DublinCore.php, line 43

Class

DublinCore
Class DublinCore.

Namespace

Drupal\views_oai_pmh\Plugin\MetadataPrefix

Code

public function getRootNodeAttributes() : array {
  return [
    '@xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
    '@xsi:schemaLocation' => 'http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd',
    '@xmlns:oai_dc' => 'http://www.openarchives.org/OAI/2.0/oai_dc/',
    '@xmlns:dc' => 'http://purl.org/dc/elements/1.1/',
  ];
}