Mercurial > hg > nginx-site
annotate xsls/dirmap.xsls @ 565:6b13286abd42
nginx-1.2.2
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 03 Jul 2012 10:59:50 +0000 |
parents | fbba1f292dc9 |
children | be54c443235a |
rev | line source |
---|---|
432
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
1 X:stylesheet { |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
2 |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
3 X:output method="text"; |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
4 |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
5 X:template = "link" { |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
6 !{@id} |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
7 X:text{ } |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
8 !{substring-before(@doc, '.xml')} |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
9 X:text{.html#} |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
10 !{@id} |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
11 X:text{; } |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
12 } |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
13 |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
14 X:template = "links" { |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
15 !! "link"; |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
16 } |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
17 |
fbba1f292dc9
Generate mapping of directives to URIs in the nginx map format.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
18 } |