Mercurial > hg > nginx-site
comparison xslt/menu.xslt @ 649:ba913f7cf7c1
Regenerated.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 20 Aug 2012 13:10:56 +0000 |
parents | 6fa99c92e40a |
children | 2ced25001893 |
comparison
equal
deleted
inserted
replaced
648:6c0532e6982f | 649:ba913f7cf7c1 |
---|---|
74 <br/> | 74 <br/> |
75 </xsl:when> | 75 </xsl:when> |
76 | 76 |
77 <xsl:otherwise> | 77 <xsl:otherwise> |
78 | 78 |
79 <a href="{@href}"> | 79 <xsl:if test="@href"> |
80 <xsl:value-of select="@year"/> | 80 <a href="{@href}"> |
81 </a> | 81 <xsl:value-of select="@year"/> |
82 </a> | |
83 </xsl:if> | |
82 | 84 |
83 <br/> | 85 <br/> |
84 </xsl:otherwise> | 86 </xsl:otherwise> |
85 </xsl:choose> | 87 </xsl:choose> |
86 </xsl:if> | 88 </xsl:if> |
99 </xsl:if> | 101 </xsl:if> |
100 | 102 |
101 <br/> | 103 <br/> |
102 </xsl:template> | 104 </xsl:template> |
103 | 105 |
104 <xsl:template match="menu/item[not(@href)]"> | 106 <xsl:template match="menu/item[not(@href) and not(@year)]"> |
105 | 107 |
106 <xsl:value-of select=" normalize-space(text())"/> | 108 <xsl:value-of select=" normalize-space(text())"/> |
107 <br/> | 109 <br/> |
108 </xsl:template> | 110 </xsl:template> |
109 | 111 |