From 528f79703e51a3770fc07e7eeb13e8b934587468 Mon Sep 17 00:00:00 2001 From: Matthew Foster Date: Thu, 2 May 2024 13:20:40 -0700 Subject: [PATCH] adjust lineage output to repeat on resourceLineage tag --- metadata_xml/iso19115-cioos-template/main.j2 | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/metadata_xml/iso19115-cioos-template/main.j2 b/metadata_xml/iso19115-cioos-template/main.j2 index 6774ea5..ca0004f 100644 --- a/metadata_xml/iso19115-cioos-template/main.j2 +++ b/metadata_xml/iso19115-cioos-template/main.j2 @@ -675,9 +675,7 @@ {% endif %} {% endfor %} - {% for distribution in record['distribution'] %} - @@ -701,14 +699,12 @@ {% endfor %} - - {% endif %} - {% for history in record['metadata']['history'] %} + + {% for lineageStep in record['metadata']['history'] %} - {% for lineageStep in record['metadata']['history'] %} {{- bl.bilingual('mrl:statement', 'statement', lineageStep) -}} {# scope: CIOOS core mandatory #} @@ -809,7 +805,6 @@ {% endfor %} - {% endfor %} {% endfor %}