view docs/xsls/dump.xsls @ 3425:0189a8f4c7c3 stable-0.7

merge r2990, r3324, r3384, r3419: various proxy/FastCGI fixes: *) do auto redirect for proxy_pass/fastcgi_pass with variables *) allow "proxy_pass http://$backend" without URI part *) add conf/fastcgi.conf *) delete u->cleanup mark, this fixes large values in $upstream_response_time, the bug had been introduced in r3246
author Igor Sysoev <igor@sysoev.ru>
date Mon, 01 Feb 2010 14:01:24 +0000
parents 551102312e19
children 2c863b4a8f93
line wrap: on
line source

X:stylesheet {

X:output method="xml"
X:param indent-increment="'   '";

X:template noname(indent="'&#xA;'") = "*" {
	!{$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(.)='']" {}
-->

}