view xsls/versions.xsls @ 757:7b8d659687b8

Use the "id" attribute instead of placing "a name" in the wrong place, to create anchors to list items.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 12 Nov 2012 07:11:56 +0000
parents b2b10d564893
children 9ad2770d3f28
line wrap: on
line source

<!--
  Copyright (C) Igor Sysoev
  Copyright (C) Nginx, Inc.
  -->

X:stylesheet {

X:template = "development_version" {
   !! "document(concat($XML, '/versions.xml'))
                /versions/download[@tag='development'][1]/item[1]/@ver";
}

X:template = "stable_version" {
   !! "document(concat($XML, '/versions.xml'))
                /versions/download[@tag='stable'][1]/item[1]/@ver";
}

}