0
我想用“string [1]”替换“Test.png”...例子“Test.png”=>“Fail.png”...用XSL替换img src标记中的图像名称
如何在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