Mercurial > hg > nginx-site
view xsls/dump.xsls @ 560:b4e34b473283
A dead link to SunOS patch #118855-14 removed. Anyway, the bug
was fixed in Solaris 10 6/06, six years ago and this info is not
relevant anymore.
author | Maxim Konovalov <maxim@nginx.com> |
---|---|
date | Mon, 02 Jul 2012 13:23:16 +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(.)='']" {} --> }