Mercurial > hg > nginx-site
view xsls/versions.xsls @ 1123:9a9aa8e9d12c
Rephrased the "zone" directive, translated into Russian.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 20 Mar 2014 15:41:50 +0400 |
parents | 710767011227 |
children | 1594ed379f1f |
line wrap: on
line source
<!-- Copyright (C) Igor Sysoev Copyright (C) Nginx, Inc. --> X:stylesheet { X:template = "mainline_version" { !! "document(concat($XML, '/versions.xml')) /versions/download[@tag='mainline'][1]/item[1]/@ver"; } X:template = "stable_version" { !! "document(concat($XML, '/versions.xml')) /versions/download[@tag='stable'][1]/item[1]/@ver"; } X:template = "commercial_version" { <a href="http://nginx.com/products/"> !{document(concat($XML, '/i18n.xml')) /i18n/text[@lang = $LANG]/item[@id='commercial_subscription']} </a> } }