📄 update-fixed-info.xsl.svn-base
字号:
<?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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -