代码拉取完成,页面将自动刷新
同步操作将从 腾硕软件/discoverx2-webapp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?xml version="1.0" encoding="gbk"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/entries">
<table class="portletentrytbl">
<colgroup>
<xsl:apply-templates select="title"/>
</colgroup>
<xsl:apply-templates select="entry"/>
</table>
</xsl:template>
<xsl:template match="title">
<col>
<xsl:if test="position()!=last()">
<xsl:attribute name="width">
<xsl:value-of select="./width"/>
</xsl:attribute>
</xsl:if>
</col>
</xsl:template>
<xsl:template match="entry">
<xsl:if test="position()<=2">
<tr class="portletentrytr">
<xsl:apply-templates select="column"/>
</tr>
</xsl:if>
</xsl:template>
<xsl:template match="column">
<xsl:param name="idx"><xsl:value-of select="position()"/></xsl:param>
<td>
<xsl:if test="position()=last()">
<xsl:attribute name="class">
<xsl:value-of select="'last'"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="position()=1">
<xsl:attribute name="class">
<xsl:value-of select="'first'"/>
</xsl:attribute>
</xsl:if>
<a target="_blank">
<xsl:attribute name="href">
<xsl:value-of select="'document.jsp?unid='"/><xsl:value-of select="../@unid"/>
</xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="concat(../../title[number($idx)]/name,'')"/><xsl:value-of select="./text"/>
</xsl:attribute>
<xsl:choose>
<xsl:when test="contains(./text,':')">
<xsl:value-of select="substring(./text,1,10)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./text"/>
</xsl:otherwise>
</xsl:choose>
</a>
</td>
</xsl:template>
</xsl:stylesheet>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。