Skip to content

Commit

Permalink
adjust lineage output to repeat on resourceLineage tag
Browse files Browse the repository at this point in the history
  • Loading branch information
fostermh committed May 2, 2024
1 parent dae507e commit 528f797
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions metadata_xml/iso19115-cioos-template/main.j2
Original file line number Diff line number Diff line change
Expand Up @@ -675,9 +675,7 @@
{% endif %}
{% endfor %}


{% for distribution in record['distribution'] %}

<mrd:transferOptions>
<mrd:MD_DigitalTransferOptions>
<mrd:onLine>
Expand All @@ -701,14 +699,12 @@
</mrd:MD_DigitalTransferOptions>
</mrd:transferOptions>
{% endfor %}


</mrd:MD_Distribution>
</mdb:distributionInfo>
{% endif %}
{% for history in record['metadata']['history'] %}

{% for lineageStep in record['metadata']['history'] %}
<mdb:resourceLineage>
{% for lineageStep in record['metadata']['history'] %}
<mrl:LI_Lineage>
{{- bl.bilingual('mrl:statement', 'statement', lineageStep) -}}
{# scope: CIOOS core mandatory #}
Expand Down Expand Up @@ -809,7 +805,6 @@
</mrl:processStep>
{% endfor %}
</mrl:LI_Lineage>
{% endfor %}
</mdb:resourceLineage>
{% endfor %}

Expand Down

0 comments on commit 528f797

Please sign in to comment.