Mercurial > hg > nginx-site
comparison xslt/version.xslt @ 1225:7e662eae0429
Regenerated.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 09 Jun 2014 10:38:11 +0400 |
parents | d900707102c6 |
children |
comparison
equal
deleted
inserted
replaced
1224:f81c61abd759 | 1225:7e662eae0429 |
---|---|
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:param select="'development'" name="VERSION"/> | 9 <xsl:param select="'development'" name="VERSION"/> |
5 | 10 |
6 <xsl:output method="text"/> | 11 <xsl:output method="text"/> |
7 | 12 |
8 <xsl:template match="/versions"> | 13 <xsl:template match="/versions"> <xsl:apply-templates select="download[@tag=$VERSION][1]/item[1]/@ver"/> </xsl:template> |
9 <xsl:apply-templates select="download[@tag=$VERSION][1]/item[1]/@ver"/> | |
10 </xsl:template> | |
11 | 14 |
12 </xsl:stylesheet> | 15 </xsl:stylesheet> |