This is an old revision of the document!
====== Фильтрация по годам ====== - Вставляем код решения в ТДС перед вызовом метода show() - В xsl там где нужен вывод годов, вставляем код:<code> <xsl:for-each select="years/year"> <xsl:sort select="." order="descending"/> <a href="?year={.}"> <xsl:if test="/informationsystem/year = ."> <xsl:attribute name="class">active</xsl:attribute> </xsl:if> <xsl:value-of select="."/></a> </xsl:for-each>
</code>