blob: 6b39966a00cd0eeef460a49bae0565aaaa7d1c99 [file] [log] [blame]
X:stylesheet {
X:output method="xml"
X:param indent-increment="' '";
X:template noname(indent="'
'") = "*" {
!{$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(.)='']" {}
-->
}