<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
                             http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
    <responseDate>{{ now().strftime('%Y-%m-%dT%H:%M:%SZ') }}</responseDate>
    <request>{{ request.url }}</request>
    <error code="{{ error }}">{% if error == 'badVerb' %}Illegal OAI verb{% elif error == 'badArgument' %}Missing or illegal argument{% elif error == 'idDoesNotExist' %}No matching identifier{% else %}Unknown error{% endif %}</error>
</OAI-PMH>
