а если допустим надо сравнить два значения тега:
так не проходит валидацию

:
PHP код:

<xsl:if test="item[text() = 'mypear[text()]']">
а так по-моему слишком длинно?
PHP код:

<xsl:variable name="b"><xsl:value-of select="//mypear"/></xsl:variable>
<xsl:if test="item[text() = $b]">
но работает

....
что думаете, можно укоротить?
