Mercurial > hg > nginx-site
annotate xslt/version.xslt @ 2697:a45ba3a1d999
Corrected description of js_var for stream.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 30 Mar 2021 15:39:14 +0100 |
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> |