Mercurial > hg > nginx-site
annotate xslt/versions.xslt @ 1202:2d3dd37a0fc8
Fixed the pubDate element spelling.
While most feed readers happily ignore the improper lowercase spelling of the
element, some feed validators and aggregators are picky and mark the feed as
broken.
author | Konstantin Pavlov <thresh@nginx.com> |
---|---|
date | Thu, 22 May 2014 14:44:42 +0400 |
parents | 9abeeeb61d0e |
children | 91a2ee74ca72 |
rev | line source |
---|---|
170 | 1 <?xml version="1.0" encoding="utf-8"?> |
1085 | 2 <!-- |
3 Copyright (C) Igor Sysoev | |
4 Copyright (C) Nginx, Inc. | |
5 --> | |
6 | |
170 | 7 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
8 | |
1085 | 9 <xsl:template match="mainline_version"> |
10 <xsl:apply-templates select="document(concat($XML, '/versions.xml')) | |
11 /versions/download[@tag='mainline'][1]/item[1]/@ver"/> | |
12 </xsl:template> | |
170 | 13 |
1085 | 14 <xsl:template match="stable_version"> |
15 <xsl:apply-templates select="document(concat($XML, '/versions.xml')) | |
16 /versions/download[@tag='stable'][1]/item[1]/@ver"/> | |
17 </xsl:template> | |
170 | 18 |
1085 | 19 <xsl:template match="commercial_version"> |
1087 | 20 <a href="http://nginx.com/products/"> |
1129 | 21 <xsl:apply-templates/> |
1087 | 22 </a> |
1085 | 23 </xsl:template> |
953
aded7086e84f
Commercial version documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
923
diff
changeset
|
24 |
170 | 25 </xsl:stylesheet> |