Mercurial > hg > nginx-site
annotate xslt/version.xslt @ 1308:f0383f5cfbb8
Design: reworked main layout.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Fri, 26 Sep 2014 19:12:57 +0400 |
parents | 7e662eae0429 |
children |
rev | line source |
---|---|
597 | 1 <?xml version="1.0" encoding="utf-8"?> |
1225 | 2 <!-- |
3 Copyright (C) Igor Sysoev | |
4 Copyright (C) Nginx, Inc. | |
5 --> | |
6 | |
597 | 7 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
8 | |
1225 | 9 <xsl:param select="'development'" name="VERSION"/> |
597 | 10 |
1225 | 11 <xsl:output method="text"/> |
12 | |
13 <xsl:template match="/versions"> <xsl:apply-templates select="download[@tag=$VERSION][1]/item[1]/@ver"/> </xsl:template> | |
597 | 14 |
15 </xsl:stylesheet> |