📄 identification.xsl.svn-base
字号:
<xsl:template match="*" mode="BrowGraph"> <fileName> <gco:CharacterString><xsl:value-of select="bgFileName"/></gco:CharacterString> </fileName> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="bgFileDesc"> <fileDescription> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </fileDescription> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="bgFileType"> <fileType> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </fileType> </xsl:for-each> </xsl:template> <!-- ============================================================================= --> <!-- === Format === --> <!-- ============================================================================= --> <xsl:template match="*" mode="Format"> <name> <gco:CharacterString><xsl:value-of select="formatName"/></gco:CharacterString> </name> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <version> <gco:CharacterString><xsl:value-of select="formatVer"/></gco:CharacterString> </version> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="formatAmdNum"> <amendmentNumber> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </amendmentNumber> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="formatSpec"> <specification> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </specification> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="fileDecmTech"> <fileDecompressionTechnique> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </fileDecompressionTechnique> </xsl:for-each> </xsl:template> <!-- ============================================================================= --> <!-- === Keywords === --> <!-- ============================================================================= --> <xsl:template match="*" mode="Keywords"> <xsl:for-each select="keyword"> <keyword> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </keyword> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="keyTyp"> <type> <MD_KeywordTypeCode codeList="./resources/codeList.xml#MD_KeywordTypeCode" codeListValue="{KeyTypCd/@value}" /> </type> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="thesaName"> <thesaurusName> <CI_Citation> <xsl:apply-templates select="idCitation" mode="Citation"/> </CI_Citation> </thesaurusName> </xsl:for-each> </xsl:template> <!-- ============================================================================= --> <!-- === Usage === --> <!-- ============================================================================= --> <xsl:template match="*" mode="Usage"> <specificUsage> <gco:CharacterString><xsl:value-of select="specUsage"/></gco:CharacterString> </specificUsage> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="usageDate"> <usageDateTime> <gco:DateTime><xsl:value-of select="."/></gco:DateTime> </usageDateTime> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="usrDetLim"> <userDeterminedLimitations> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </userDeterminedLimitations> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="usrCntInfo"> <userContactInfo> <CI_ResponsibleParty> <xsl:apply-templates select="." mode="RespParty"/> </CI_ResponsibleParty> </userContactInfo> </xsl:for-each> </xsl:template> <!-- ============================================================================= --> <!-- === ConstsTypes === --> <!-- ============================================================================= --> <xsl:template match="*" mode="ConstsTypes"> <xsl:for-each select="Consts"> <MD_Constraints> <xsl:apply-templates select="." mode="Consts"/> </MD_Constraints> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="LegConsts"> <MD_LegalConstraints> <xsl:apply-templates select="." mode="LegConsts"/> </MD_LegalConstraints> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="SecConsts"> <MD_SecurityConstraints> <xsl:apply-templates select="." mode="SecConsts"/> </MD_SecurityConstraints> </xsl:for-each> </xsl:template> <!-- ============================================================================= --> <xsl:template match="*" mode="Consts"> <xsl:for-each select="useLimit"> <useLimitation> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </useLimitation> </xsl:for-each> </xsl:template> <!-- ============================================================================= --> <xsl:template match="*" mode="LegConsts"> <xsl:apply-templates select="." mode="Consts"/> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="accessConsts"> <accessConstraints> <MD_RestrictionCode codeList="./resources/codeList.xml#MD_RestrictionCode" codeListValue="{RestrictCd/@value}" /> </accessConstraints> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="useConsts"> <useConstraints> <MD_RestrictionCode codeList="./resources/codeList.xml#MD_RestrictionCode" codeListValue="{RestrictCd/@value}" /> </useConstraints> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="othConsts"> <otherConstraints> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </otherConstraints> </xsl:for-each> </xsl:template> <!-- ============================================================================= --> <xsl:template match="*" mode="SecConsts"> <xsl:apply-templates select="." mode="Consts"/> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <classification> <MD_ClassificationCode codeList="./resources/codeList.xml#MD_ClassificationCode"> <xsl:attribute name="codeListValue"> <xsl:choose> <xsl:when test="class/ClasscationCd/@value = 'topsecret'">topSecret</xsl:when> <xsl:otherwise> <xsl:value-of select="class/ClasscationCd/@value"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> </MD_ClassificationCode> </classification> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="userNote"> <userNote> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </userNote> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="classSys"> <classificationSystem> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </classificationSystem> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="handDesc"> <handlingDescription> <gco:CharacterString><xsl:value-of select="."/></gco:CharacterString> </handlingDescription> </xsl:for-each> </xsl:template> <!-- ============================================================================= --> <!-- === Resol === --> <!-- ============================================================================= --> <xsl:template match="*" mode="Resol"> <xsl:for-each select="equScale"> <equivalentScale> <MD_RepresentativeFraction> <denominator> <gco:Integer><xsl:value-of select="rfDenom"/></gco:Integer> </denominator> </MD_RepresentativeFraction> </equivalentScale> </xsl:for-each> <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> <xsl:for-each select="scaleDist"> <distance> <gco:Distance> <xsl:apply-templates select="." mode="Measure"/> </gco:Distance> </distance> </xsl:for-each> </xsl:template> <!-- ============================================================================= --></xsl:stylesheet>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -