Mercurial > hg > nginx-site
view xsls/dump.xsls @ 699:8205c2fcde2f
Fixed long lines, apostrophes used, etc.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 03 Oct 2012 10:20:50 +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(.)='']" {} --> }