Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Infrastructure
iso19139.MERIDIAN
Commits
c741de5d
Commit
c741de5d
authored
Oct 02, 2019
by
Kim Mortimer
Browse files
Add version info, structure Darwin Core
parent
e38cc98a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/plugin/iso19139.MERIDIAN/index-fields/index.xsl
View file @
c741de5d
...
...
@@ -579,9 +579,72 @@
</xsl:for-each>
<xsl:for-each
select=
"dwr:DarwinRecordSet"
>
<darwinCore>
<xsl:value-of
select=
"."
/>
</darwinCore>
<xsl:for-each
select=
"./dwc:Occurrence"
>
<xsl:variable
name=
"occID"
select=
"./dwc:occurrenceID"
/>
<occurrenceRecordedBy>
<xsl:value-of
select=
"$occID"
/>
|
<xsl:value-of
select=
"./dwc:recordedBy"
as=
"xs:string?"
/>
</occurrenceRecordedBy>
<occurrenceBasis>
<xsl:value-of
select=
"$occID"
/>
|
<xsl:value-of
select=
"./dwc:basisOfRecord"
as=
"xs:string?"
/>
</occurrenceBasis>
<occurrenceCount>
<xsl:value-of
select=
"$occID"
/>
|
<xsl:value-of
select=
"./dwc:organismQuantity"
as=
"xs:string?"
/><xsl:text>
</xsl:text><xsl:value-of
select=
"./dwc:organismQuantityType"
as=
"xs:string?"
/>
</occurrenceCount>
<occurrenceRemarks>
<xsl:value-of
select=
"$occID"
/>
|
<xsl:value-of
select=
"./dwc:occurrenceRemarks"
as=
"xs:string?"
/>
</occurrenceRemarks>
</xsl:for-each>
<xsl:for-each
select=
"./dwc:Event"
>
<xsl:variable
name=
"occID"
select=
"./dwc:occurrenceID"
/>
<occurrenceSamplingProtocol>
<xsl:value-of
select=
"$occID"
/>
|
<xsl:value-of
select=
"./dwc:samplingProtocol"
as=
"xs:string?"
/>
</occurrenceSamplingProtocol>
<occurrenceSamplingEffort>
<xsl:value-of
select=
"$occID"
/>
|
<xsl:value-of
select=
"./dwc:samplingEffort"
as=
"xs:string?"
/>
</occurrenceSamplingEffort>
</xsl:for-each>
<xsl:for-each
select=
"./dwc:Organism"
>
<xsl:variable
name=
"orgID"
select=
"./dwc:organismID"
/>
<xsl:variable
name=
"taxonID"
select=
"./dwc:taxonID"
/>
<organismBelongsToTaxon>
<xsl:value-of
select=
"$organismID"
/>
|
<xsl:value-of
select=
"$taxonID"
/>
</organismBelongsToTaxon>
<organismRemarks>
<xsl:value-of
select=
"$organismID"
/>
|
<xsl:value-of
select=
"./dwc:organismRemarks"
as=
"xs:string?"
/>
</organismRemarks>
</xsl:for-each>
<xsl:for-each
select=
"./dwc:Identification"
>
<xsl:variable
name=
"occID"
select=
"./dwc:occurrenceID"
/>
<xsl:variable
name=
"identID"
select=
"./dwc:identificationID"
/>
<identificationBelongsToOccurrence>
<xsl:value-of
select=
"$identID"
/>
|
<xsl:value-of
select=
"$occID"
/>
</identificationBelongsToOccurrence>
<identificationBy>
<xsl:value-of
select=
"$identID"
/>
|
<xsl:value-of
select=
"./dwc:identifiedBy"
as=
"xs:string?"
/>
</identificationBy>
<identificationRemarks>
<xsl:value-of
select=
"$identID"
/>
|
<xsl:value-of
select=
"./dwc:identificationRemarks"
as=
"xs:string?"
/>
</identificationRemarks>
<identificationReferences>
<xsl:value-of
select=
"$identID"
/>
|
<xsl:value-of
select=
"./dwc:identificationReferences"
as=
"xs:string?"
/>
</identificationReferences>
</xsl:for-each>
<xsl:for-each
select=
"./dwc:Taxon"
>
<xsl:variable
name=
"identID"
select=
"./dwc:identificationID"
/>
<xsl:variable
name=
"taxonID"
select=
"./dwc:taxonID"
/>
<taxonBelongsToIdentification>
<xsl:value-of
select=
"$taxonID"
/>
|
<xsl:value-of
select=
"$identID"
/>
</taxonBelongsToIdentification>
<taxonVernacularName>
<xsl:value-of
select=
"$taxonID"
/>
|
<xsl:value-of
select=
"./dwc:vernacularName"
as=
"xs:string?"
/>
</taxonVernacularName>
<taxonScientificName>
<xsl:value-of
select=
"$taxonID"
/>
|
<xsl:value-of
select=
"./dwc:scientificName"
as=
"xs:string?"
/>
</taxonScientificName>
<taxonRemarks>
<xsl:value-of
select=
"$taxonID"
/>
|
<xsl:value-of
select=
"./dwc:taxonRemarks"
as=
"xs:string?"
/>
</taxonRemarks>
</xsl:for-each>
</xsl:for-each>
<xsl:for-each
select=
"*/gmd:EX_Extent"
>
...
...
@@ -985,6 +1048,11 @@
</xsl:if>
</xsl:for-each>
</xsl:for-each>
<xsl:for-each
select=
"gmd:metadataMaintenance/gmd:MD_MaintenanceInformation/gmd:maintenanceNote"
>
<versionInfo>
<xsl:value-of
select=
"./gco:CharacterString"
/>
</versionInfo>
</xsl:for-each>
<xsl:for-each
select=
"gmi:acquisitionInformation/*"
>
<xsl:for-each
select=
".//gmi:MI_Operation"
>
<operationStatus><xsl:value-of
select=
"./gmi:status/gmd:MD_ProgressCode[text()]"
/></operationStatus>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment