Mercurial > hg > nginx-site
view xsls/dump.xsls @ 824:c66610f9a53f
GeoIP: IPv6 support.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 28 Jan 2013 12:32:46 +0400 |
parents | be54c443235a |
children |
line wrap: on
line source
<!-- Copyright (C) Igor Sysoev Copyright (C) Nginx, Inc. --> 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(.)='']" {} --> }