comparison docs/xsls/dump.xsls @ 4847:0275f587e00b stable-1.2

Merge of r4777, r4780, r4831, r4832: release process changes. *) Simplified makefile that builds CHANGES. *) Removed the need in Perl to generate ZIP archive of nginx/Windows. *) Converted DOS-style newlines in dump.xslt. *) Pass changes.xml thru xmllint when generating CHANGES and CHANGES.ru.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 24 Sep 2012 18:30:26 +0000
parents 551102312e19
children
comparison
equal deleted inserted replaced
4846:f0300f64e8fb 4847:0275f587e00b
2 2
3 X:output method="xml" 3 X:output method="xml"
4 X:param indent-increment="' '"; 4 X:param indent-increment="' '";
5 5
6 X:template noname(indent="'&#xA;'") = "*" { 6 X:template noname(indent="'&#xA;'") = "*" {
7 !{$indent} 7 !{$indent}
8 8
9 X:if "name()='xsl:template'" { 9 X:if "name()='xsl:template'" {
10 !{$indent} 10 !{$indent}
11 } 11 }
12 12
13 X:copy { 13 X:copy {
14 X:copy-of "@*" 14 X:copy-of "@*"
15 !!( indent = "concat($indent, $indent-increment)" ); 15 !!( indent = "concat($indent, $indent-increment)" );
16 X:if "./* " { !{$indent} } 16 X:if "./* " { !{$indent} }
17 } 17 }
18 } 18 }
19 19
20 20
21 X:template = "comment()|processing-instruction()" { 21 X:template = "comment()|processing-instruction()" {
22 X:copy; 22 X:copy;