ecolabdata / ecospheres-isomorphe

Une application pour appliquer des transformations XML aux catalogues Geonetwork du MTECT.
0 stars 0 forks source link

Section geonet:info is deleted by transform #74

Open streino opened 3 hours ago

streino commented 3 hours ago

ecospheres-xslt/xslts/default-record-type.xsl

https://inspire.ternum-bfc.fr/geonetwork/srv/fre/catalog.search#/metadata/f97dec5c-aec2-4c75-9ed6-611ef49fd227

532,563c532
<    <geonet:info>
<       <id>8164</id>
<       <schema>iso19139</schema>
<       <createDate>2020-03-03T09:48:47</createDate>
<       <changeDate>2020-03-03T09:48:47</changeDate>
<       <isTemplate>n</isTemplate>
<       <title/>
<       <source>c56cf20f-6f9c-4bc0-8651-d86158309a1b</source>
<       <uuid>f97dec5c-aec2-4c75-9ed6-611ef49fd227</uuid>
<       <isHarvested>y</isHarvested>
<       <popularity>1070</popularity>
<       <rating>0</rating>
<       <displayOrder>0</displayOrder>
<       <harvestInfo>
<          <type>geonetwork</type>
<          <smallThumbnail>/geonetwork/srv/en/resources.get?access=public&amp;id=8164&amp;fname=</smallThumbnail>
<          <largeThumbnail>/geonetwork/srv/en/graphover.show?access=public&amp;id=8164&amp;fname=</largeThumbnail>
<       </harvestInfo>
<       <edit>true</edit>
<       <owner>true</owner>
<       <isPublishedToAll>true</isPublishedToAll>
<       <view>true</view>
<       <notify>true</notify>
<       <download>true</download>
<       <dynamic>true</dynamic>
<       <featured>true</featured>
<       <ownername>admin</ownername>
<       <valid>-1</valid>
<       <baseUrl>http://localhost:8080/geonetwork</baseUrl>
<       <locService>/srv/en</locService>
<    </geonet:info>
< </gmd:MD_Metadata>
---
>    </gmd:MD_Metadata>
streino commented 3 hours ago

Most likely to be treated in the XSLTs.

Check :