<?xml version="1.0" encoding="UTF-8"?>
<doi_batch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.crossref.org/schema/5.4.0 https://www.crossref.org/schemas/crossref5.4.0.xsd"
 xmlns="http://www.crossref.org/schema/5.4.0" xmlns:jats="http://www.ncbi.nlm.nih.gov/JATS1"
 xmlns:fr="http://www.crossref.org/fundref.xsd" version="5.4.0">

    <head>
        <doi_batch_id>{{ batch_id }}</doi_batch_id>
        <timestamp>{{ now|date:"YmdHis" }}{{ timestamp_suffix }}</timestamp>
        <depositor>
            <depositor_name>{{ depositor_name }}</depositor_name>
            <email_address>{{ depositor_email }}</email_address>
        </depositor>
        <registrant>{{ registrant }}</registrant>
    </head>
    <body>
    {% if is_conference %}
        {% for crossref_issue in crossref_issues %}
            {% include "common/identifiers/crossref_conference.xml" with crossref_issue=crossref_issue %}
        {% endfor %}
    {% else %}
        {% for crossref_issue in crossref_issues %}
            {% include "common/identifiers/crossref_journal_issue.xml" with crossref_issue=crossref_issue %}
        {% endfor %}
    {% endif %}
    </body>
</doi_batch>
