update-fixed-info.xsl.svn-base

来自「由国外的一个著名的geonetwork修改而来」· SVN-BASE 代码 · 共 61 行

SVN-BASE
61
字号
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0"                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"					 xmlns:dc="http://purl.org/dc/elements/1.1/">	<!-- ================================================================= -->		<xsl:template match="/root">		 <xsl:apply-templates select="simpledc"/>	</xsl:template>	<!-- ================================================================= -->		<xsl:template match="@*|node()">		 <xsl:copy>			  <xsl:apply-templates select="@*|node()"/>		 </xsl:copy>	</xsl:template>	<!-- ================================================================= -->		<xsl:template match="simpledc">		<xsl:copy>			<xsl:apply-templates select="dc:title"/>			<xsl:apply-templates select="dc:creator"/>			<xsl:apply-templates select="dc:subject"/>			<xsl:apply-templates select="dc:description"/>			<xsl:apply-templates select="dc:publisher"/>			<xsl:apply-templates select="dc:contributor"/>			<xsl:apply-templates select="dc:date"/>			<xsl:apply-templates select="dc:type"/>			<xsl:apply-templates select="dc:format"/>						<xsl:choose>				<xsl:when test="not(dc:identifier)">					<dc:identifier><xsl:value-of select="/root/env/uuid"/></dc:identifier>				</xsl:when>				<xsl:otherwise>					<xsl:apply-templates select="dc:identifier"/>				</xsl:otherwise>			</xsl:choose>						<xsl:apply-templates select="dc:source"/>			<xsl:apply-templates select="dc:language"/>			<xsl:apply-templates select="dc:relation"/>			<xsl:apply-templates select="dc:coverage"/>			<xsl:apply-templates select="dc:rights"/>		</xsl:copy>	</xsl:template>	<!-- ================================================================= -->		<xsl:template match="dc:identifier">		 <xsl:copy><xsl:value-of select="/root/env/uuid"/></xsl:copy>	</xsl:template>	<!-- ================================================================= --></xsl:stylesheet>

⌨️ 快捷键说明

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