Mercurial > hg > nginx-site
comparison xslt/versions.xslt @ 1085:c454373427ef
Regenerated.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 28 Feb 2014 20:12:47 +0400 |
parents | aded7086e84f |
children | 75a88c406dfc |
comparison
equal
deleted
inserted
replaced
1084:be1d72ba7e5f | 1085:c454373427ef |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- | |
3 Copyright (C) Igor Sysoev | |
4 Copyright (C) Nginx, Inc. | |
5 --> | |
6 | |
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | 7 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
3 | 8 |
4 <xsl:template match="mainline_version"> | 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> | |
5 | 13 |
6 <xsl:apply-templates select="document(concat($XML, '/versions.xml')) /versions/download[@tag='mainline'][1]/item[1]/@ver"/> | 14 <xsl:template match="stable_version"> |
7 </xsl:template> | 15 <xsl:apply-templates select="document(concat($XML, '/versions.xml')) |
16 /versions/download[@tag='stable'][1]/item[1]/@ver"/> | |
17 </xsl:template> | |
8 | 18 |
9 <xsl:template match="stable_version"> | 19 <xsl:template match="commercial_version"> |
10 | 20 <a href="http://nginx.com/products/">commercial subscription</a> |
11 <xsl:apply-templates select="document(concat($XML, '/versions.xml')) /versions/download[@tag='stable'][1]/item[1]/@ver"/> | 21 </xsl:template> |
12 </xsl:template> | |
13 | |
14 <xsl:template match="commercial_version"> | |
15 | |
16 <a href="http://nginx.com/products/">commercial subscription</a> | |
17 </xsl:template> | |
18 | 22 |
19 </xsl:stylesheet> | 23 </xsl:stylesheet> |