我想用“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>
谢谢, Muthu Selvan SR