Mercurial > hg > nginx-site
view xsls/dump.xsls @ 766:0c5d885656af
Packages for new supported ubuntu version added
author | Sergey Budnevitch <sb@waeme.net> |
---|---|
date | Tue, 13 Nov 2012 16:30:23 +0000 |
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(.)='']" {} --> }