Mercurial > hg > nginx-site
view xsls/dirmap.xsls @ 860:9fce700e56d3
If: only empty strings and "0" evaluate to false.
Before version 1.0.1, any string starting with "0" was considered
a false value.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 07 Mar 2013 08:11:34 +0400 |
parents | be54c443235a |
children | 166fd33afad1 |
line wrap: on
line source
<!-- Copyright (C) Nginx, Inc. --> X:stylesheet { X:output method="text"; X:template = "link" { !{@id} X:text{ } !{substring-before(@doc, '.xml')} X:text{.html#} !{@id} X:text{; } } X:template = "links" { !! "link"; } }