Mercurial > hg > nginx-site
view xsls/dump.xsls @ 397:f1c0ae9c1c48
FreeBSD 10.0-CURRENT supports the TCP_KEEPIDLE, TCP_KEEPINTVL, and
TCP_KEEPCNT socket options.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 07 Feb 2012 09:31:45 +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(.)='']" {} --> }