【发布时间】:2013-09-23 08:11:11
【问题描述】:
我想用“string[1]”替换“Test.png”...例如“Test.png”=>“Fail.png”...
如何在 XSL 中做到这一点?
<xsl:when test="string[1] = 'Fail'">
<td> <a href="http://www.google.com/"><img src="Test.png" height="182" width="182"></img></a></td>
</xsl:when>
<xsl:otherwise>
<td> </td>
</xsl:otherwise>
</xsl:choose>
谢谢, 穆图·塞尔万 SR
【问题讨论】: