Mercurial > hg > nginx-site
view xsls/dump.xsls @ 238:e33fc8541217
- "proxy_redirect" supports variables in the first parameter,
- "proxy_redirect" supports regular expressions,
- "proxy_redirect default" doesn't work if "proxy_pass" references variables.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 13 Dec 2011 20:23:07 +0000 |
parents | 1ebe107b3d7e |
children | be54c443235a |
line wrap: on
line source
X:stylesheet { X:output method="xml" X:param indent-increment="' '"; X:template noname(indent="'
'") = "*" { !{$indent} X:if "name()='xsl:template'" { !{$indent} } X:copy { X:copy-of "@*" !!( indent = "concat($indent, $indent-increment)" ); X:if "./* " { !{$indent} } } } X:template = "comment()|processing-instruction()" { X:copy; } <!-- X:template ="text()[normalize-space(.)='']" {} --> }