contains Remark : contains XHTML <xsl:if test="contains(@data,'Thesis')"> Thesis: yes! </xsl:if> 12345 <xsl:if test="contains(@data,'Thesis')"> Thesis: yes!</xsl:if>