Mercurial > hg > nginx-site
annotate xsls/dirmap.xsls @ 468:31e81dcc4ffd
set_real_ip_from: documented the special parameter "unix:".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 28 Mar 2012 07:50:06 +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 } |