Мне нужно переделать вывод даты, точнее нужно выводить год 2-мя последними цифрами 2013 13(нужный мне вариант)
вот мод выводящий дату месяц и год
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:hostcms="http://www.hostcms.ru/"
exclude-result-prefixes="hostcms">
<xsl:output xmlns="http://www.w3.org/TR/xhtml1/strict" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" encoding="utf-8" indent="yes" method="html" omit-xml-declaration="no" version="1.0" media-type="text/xml"/>
<!-- СписокНовостейНаГлавной -->
<xsl:template match="/">
<xsl:apply-templates select="/informationsystem"/>
</xsl:template>
<xsl:template match="/informationsystem">
<!-- Выводим название информационной системы -->
<p class="h1" hostcms:id="{@id}" hostcms:field="name" hostcms:entity="informationsystem">
<xsl:value-of disable-output-escaping="yes" select="name"/>
</p>
<!-- Отображение записи информационной системы -->
<xsl:if test="informationsystem_item">
<ul>
<xsl:apply-templates select="informationsystem_item"/>
</ul>
</xsl:if>
<p class="button"><a href="{url}" title="Все новости">Все новости</a></p>
</xsl:template>
<!-- Шаблон вывода информационного элемента -->
<xsl:template match="informationsystem_item">
<!-- Дата время -->
<li>
<span class="date">
<strong><xsl:value-of select="substring-before(date, '.')"/></strong>
<xsl:variable name="month_year" select="substring-after(date, '.')"/>
<em><xsl:variable name="month" select="substring-before($month_year, '.')"/>
<xsl:choose>
<xsl:when test="$month = 1"> 01 </xsl:when>
<xsl:when test="$month = 2"> 02 </xsl:when>
<xsl:when test="$month = 3"> 03 </xsl:when>
<xsl:when test="$month = 4"> 04 </xsl:when>
<xsl:when test="$month = 5"> 05 </xsl:when>
<xsl:when test="$month = 6"> 06 </xsl:when>
<xsl:when test="$month = 7"> 07 </xsl:when>
<xsl:when test="$month = 8"> 08 </xsl:when>
<xsl:when test="$month = 9"> 09 </xsl:when>
<xsl:when test="$month = 10"> 10 </xsl:when>
<xsl:when test="$month = 11"> 11 </xsl:when>
<xsl:otherwise> 12 </xsl:otherwise>
</xsl:choose>
//ВОТ ЭТА СТРОЧКА ВЫВОДИТ ГОД, НУЖНО ВЫВЕСТИ 2-МЯ ПОСЛЕДНИМИ ЦИФРАМИ
<xsl:value-of select="substring-after($month_year, '.')"/><xsl:text> г.</xsl:text></em>
</span>
<div class="row">
<a href="{url}" hostcms:id="{@id}" hostcms:field="name" hostcms:entity="informationsystem_item">
<xsl:value-of disable-output-escaping="yes" select="name"/>
</a>
</div>
</li>
</xsl:template>
</xsl:stylesheet>