Mercurial > hg > nginx-site
comparison xsls/dump.xsls @ 132:1ebe107b3d7e
Expanded tabs into spaces.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 21 Oct 2011 14:22:31 +0000 |
parents | 61e04fc01027 |
children | be54c443235a |
comparison
equal
deleted
inserted
replaced
131:8beaff4b3b6b | 132:1ebe107b3d7e |
---|---|
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="'
'") = "*" { | 6 X:template noname(indent="'
'") = "*" { |
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; |