- addional xml elements for DINI requirements

- port browser style oai2_style.xslt to xslt version 3.0
- oai2_style includes extra style.css
This commit is contained in:
Arno Kaimbacher 2022-11-25 12:34:57 +01:00
parent 8ebd8f3251
commit edea5ccbd0
5 changed files with 758 additions and 660 deletions

View file

@ -498,11 +498,11 @@
<gmd:extent>
<gmd:EX_Extent>
<xsl:if test="//*[name() = 'Coverage']">
<xsl:variable name="thebox" select="//*[name() = 'Coverage']"/>
<!-- <xsl:variable name="thebox" select="//*[name() = 'Coverage']"/> -->
<xsl:variable name="sLat">
<xsl:choose>
<xsl:when test="string($thebox/@YMin) != ''">
<xsl:value-of select="number($thebox/@YMin)"/>
<xsl:when test="string(Coverage/@YMin) != ''">
<xsl:value-of select="number(Coverage/@YMin)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="''"/>
@ -511,8 +511,8 @@
</xsl:variable>
<xsl:variable name="wLong">
<xsl:choose>
<xsl:when test="string($thebox/@XMin) != ''">
<xsl:value-of select="number($thebox/@XMin)"/>
<xsl:when test="string(Coverage/@XMin) != ''">
<xsl:value-of select="number(Coverage/@XMin)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="''"/>
@ -521,8 +521,8 @@
</xsl:variable>
<xsl:variable name="nLat">
<xsl:choose>
<xsl:when test="string($thebox/@YMax) != ''">
<xsl:value-of select="number($thebox/@YMax)"/>
<xsl:when test="string(Coverage/@YMax) != ''">
<xsl:value-of select="number(Coverage/@YMax)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="''"/>
@ -531,8 +531,8 @@
</xsl:variable>
<xsl:variable name="eLong">
<xsl:choose>
<xsl:when test="string($thebox/@XMax) != ''">
<xsl:value-of select="number($thebox/@XMax)"/>
<xsl:when test="string(Coverage/@XMax) != ''">
<xsl:value-of select="number(Coverage/@XMax)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="''"/>