⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 update-fixed-info.xsl.svn-base

📁 由国外的一个著名的geonetwork修改而来
💻 SVN-BASE
字号:
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">	<!-- ================================================================= -->		<xsl:template match="/root">		 <xsl:apply-templates select="Metadata"/>	</xsl:template>	<!-- ================================================================= -->		<xsl:template match="@*|node()">		 <xsl:copy>			  <xsl:apply-templates select="@*|node()"/>		 </xsl:copy>	</xsl:template>	<!-- ================================================================= -->		<xsl:template match="Metadata">		 <xsl:copy>		 		<xsl:if test="not(mdFileID)">		 			<mdFileID><xsl:value-of select="/root/env/uuid"/></mdFileID>				</xsl:if>			  <xsl:apply-templates select="@*|node()"/>		 </xsl:copy>	</xsl:template>	<!-- ================================================================= -->		<xsl:template match="mdFileID">		 <xsl:copy><xsl:value-of select="/root/env/uuid"/></xsl:copy>	</xsl:template>		<!-- ================================================================= -->		<xsl:template match="mdDateSt">		 <xsl:copy><xsl:value-of select="/root/env/currDate"/></xsl:copy>	</xsl:template>	<!-- ================================================================= -->		<xsl:template match="CharSetCd">		 <CharSetCd value="utf8"/>	</xsl:template>	<!-- ================================================================= -->		<xsl:template match="mdStanName">		 <xsl:copy>ISO 19115</xsl:copy>	</xsl:template>	<!-- ================================================================= -->		<xsl:template match="mdStanVer">		 <xsl:copy>FDIS</xsl:copy>	</xsl:template>	<!-- ================================================================= -->	<!--	online resources: download	-->	<xsl:template match="linkage[parent::onLineSrc and starts-with(following-sibling::protocol,'WWW:DOWNLOAD-') and contains(following-sibling::protocol,'http--download') and following-sibling::orName]">		<xsl:choose>			<xsl:when test="string(/root/env/siteID)=string(/root/env/source)">				<linkage><xsl:value-of select="concat(/root/env/siteURL,'/resources.get?id=',/root/env/id,'&amp;fname=',following-sibling::orName,'&amp;access=private')"/></linkage>			</xsl:when>			<xsl:otherwise>				<xsl:copy-of select="."/>			</xsl:otherwise>		</xsl:choose>			</xsl:template></xsl:stylesheet>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -