简单的xslt提问
<xsl:template match= "PEOPLE ">
<xsl:choose>
<xsl:when test= "@name = 'ajie ' ">
<B> <xsl:value-of select= "@name "/> </B>
</xsl:when>
<xsl:when test= "@name ">
<I> <xsl:value-of select= "@name "/> </I>
</xsl:when>
<xsl:otherwise>
No name available
</xsl:otherwise>
<xsl:choose>
</xsl:template>
这里面如果想匹配搜索怎么做?请大家帮帮忙,谢了!!!
------解决方案--------------------使用
Contains(string1, string2)
例如
<xsl:when test= "Contains(@name, 'ajie ') ">