view docs/xsls/dump.xsls @ 1734:b4d3c9c1ae20 stable-0.5

r1678, r1679 merge: *) copy protocol value when large request line is copied, this fixes error "fastcgi: the request record is too big" *) log how big fastcgi record
author Igor Sysoev <igor@sysoev.ru>
date Wed, 12 Dec 2007 21:11:21 +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(.)='']" {}
-->

}