Mercurial > hg > nginx-site
comparison xsls/dirmap.xsls @ 432:fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 28 Feb 2012 08:06:22 +0000 |
parents | |
children | be54c443235a |
comparison
equal
deleted
inserted
replaced
431:0412333658fe | 432:fbba1f292dc9 |
---|---|
1 X:stylesheet { | |
2 | |
3 X:output method="text"; | |
4 | |
5 X:template = "link" { | |
6 !{@id} | |
7 X:text{ } | |
8 !{substring-before(@doc, '.xml')} | |
9 X:text{.html#} | |
10 !{@id} | |
11 X:text{; } | |
12 } | |
13 | |
14 X:template = "links" { | |
15 !! "link"; | |
16 } | |
17 | |
18 } |