blob: 6b39966a00cd0eeef460a49bae0565aaaa7d1c99 [file] [log] [blame]
Igor Sysoev0e8348c2004-10-04 15:04:06 +00001X:stylesheet {
2
3X:output method="xml"
4X:param indent-increment="' '";
5
6X:template noname(indent="'
'") = "*" {
7 !{$indent}
8
9 X:if "name()='xsl:template'" {
10 !{$indent}
11 }
12
13 X:copy {
14 X:copy-of "@*"
15 !!( indent = "concat($indent, $indent-increment)" );
16 X:if "./* " { !{$indent} }
17 }
18}
19
20
21X:template = "comment()|processing-instruction()" {
22 X:copy;
23}
24
25<!--
26X:template ="text()[normalize-space(.)='']" {}
27-->
28
29}