view xsls/versions.xsls @ 2644:b1aab2fa2b8f

Linux packages: actualized the list of supported distributions. Removed Debian 9 "stretch" due to EOL. Added Alpine Linux 3.13.
author Konstantin Pavlov <thresh@nginx.com>
date Tue, 26 Jan 2021 15:45:23 +0300
parents 1594ed379f1f
children 9eadb98ec770
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/">
    !!;
    </a>
}

}