Mercurial > hg > nginx-site
view xsls/dump.xsls @ 662:45a108627ef7
Donor added.
author | Maxim Konovalov <maxim@nginx.com> |
---|---|
date | Mon, 03 Sep 2012 07:20:13 +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(.)='']" {} --> }