Mercurial > hg > nginx
view docs/xsls/dump.xsls @ 4240:17ab1927f80f stable-1.0
Merging r3992, r4192:
access_log related fixes:
*) Removal of error message about %name log_format parameters,
they have been deleted long ago in 0.5.0-RELEASE.
*) Improved access log escaping to better protect other software.
Some character sets (notably ISO-8859-1) have C1 control characters in
upper half, make sure to escape them.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 01 Nov 2011 11:06:31 +0000 |
parents | 551102312e19 |
children | 2c863b4a8f93 |
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(.)='']" {} --> }