add projection,reference,data format,size,resolution

This commit is contained in:
wlx 2011-10-17 07:25:07 +00:00
parent 489f6cbc50
commit 1bcb649da0
1 changed files with 45 additions and 0 deletions

View File

@ -5,6 +5,8 @@
<xsl:output method="html" encoding="utf-8" indent="no"/> <xsl:output method="html" encoding="utf-8" indent="no"/>
<xsl:param name="thumburl" select="defaultstring"/> <xsl:param name="thumburl" select="defaultstring"/>
<xsl:param name="abstract" select="defaultstring"/> <xsl:param name="abstract" select="defaultstring"/>
<xsl:param name="projection" select="defaultstring"/>
<xsl:param name="reference" select="defaultstring"/>
<xsl:template match="/"> <xsl:template match="/">
<img aligh="center" class="figure"> <img aligh="center" class="figure">
<xsl:attribute name="src">http://westdc.westgis.ac.cn/images/westdc-banner.jpg</xsl:attribute> <xsl:attribute name="src">http://westdc.westgis.ac.cn/images/westdc-banner.jpg</xsl:attribute>
@ -51,6 +53,35 @@
</li> </li>
</ul> </ul>
</li> </li>
<li><h4 style="background-color:#DEE2E4">数据细节</h4>
<ol>
<xsl:if test="//rfDenom">
<xsl:for-each select="//rfDenom">
<li>比例尺:<xsl:value-of select="."/></li>
</xsl:for-each>
</xsl:if>
<xsl:if test="//scaleDist">
<xsl:for-each select="//scaleDist">
<li>分辨率:<xsl:value-of select="value/Decimal"/><xsl:value-of select="//uomName"/></li>
</xsl:for-each>
</xsl:if>
<xsl:if test="$projection!=''">
<li>投影:<xsl:value-of select="$projection"/></li>
</xsl:if>
<xsl:if test="//transSize">
<xsl:for-each select="//transSize">
<li>数据大小:<xsl:value-of select="."/>MB</li>
</xsl:for-each>
</xsl:if>
<xsl:if test="//distorFormat">
<xsl:for-each select="//distorFormat">
<xsl:if test="formatName!=''">
<li>数据格式:<xsl:value-of select="formatName"/></li>
</xsl:if>
</xsl:for-each>
</xsl:if>
</ol>
</li>
<li><h4 style="background-color:#DEE2E4">地理范围</h4> <li><h4 style="background-color:#DEE2E4">地理范围</h4>
<div> <div>
<table border="1" cellspacing="0" cellpadding="4" style="text-align:center" align="center"> <table border="1" cellspacing="0" cellpadding="4" style="text-align:center" align="center">
@ -86,6 +117,20 @@
</xsl:for-each> </xsl:for-each>
</ol> </ol>
</li> </li>
<li><h4 style="background-color:#DEE2E4">建议参考文献</h4>
<xsl:if test="$reference!=''">
<xsl:value-of select="$reference" disable-output-escaping="yes"/>
</xsl:if>
</li>
<li><h4 style="background-color:#DEE2E4">数据DOI</h4>
<xsl:if test="//idCitation/citIdType='DOI'">
<ul>
<xsl:for-each select="//idCitation/citId">
<li><xsl:value-of select="."/></li>
</xsl:for-each>
</ul>
</xsl:if>
</li>
<li><h4 style="background-color:#DEE2E4">项目支持信息</h4> <li><h4 style="background-color:#DEE2E4">项目支持信息</h4>
<p><xsl:value-of select="//Metadata/dataIdInfo/suppInfo"/></p> <p><xsl:value-of select="//Metadata/dataIdInfo/suppInfo"/></p>
</li> </li>