Mercurial > hg > nginx-site
view xsls/dump.xsls @ 489:2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
author | Andrey Alexeev <andrew@nginx.com> |
---|---|
date | Thu, 19 Apr 2012 09:54:55 +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(.)='']" {} --> }