Mercurial > hg > nginx-site
view xsls/dump.xsls @ 428:fc2bd185dc02
Listed .xslt files explicitly as targets so they never get considered
to be intermediate by make. This addresses an issue mentioned in r28
without a side effect.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 27 Feb 2012 12:21:21 +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(.)='']" {} --> }