view xsls/versions.xsls @ 1005:2275611970dd

Removed open_file_cache_errors from proxy_store examples. The open_file_cache_errors directive is mostly unrelated and off by default, there is no real need to have it in examples.
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 22 Oct 2013 17:37:46 +0400
parents aded7086e84f
children 710767011227
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/">commercial subscription</a>
}

}