comparison docs/xsls/dump.xsls @ 450:551102312e19 release-0.1.0

nginx-0.1.0-RELEASE import *) The first public version.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 04 Oct 2004 15:04:06 +0000
parents
children 2c863b4a8f93
comparison
equal deleted inserted replaced
449:3b1e8c9df9ad 450:551102312e19
1 X:stylesheet {
2
3 X:output method="xml"
4 X:param indent-increment="' '";
5
6 X:template noname(indent="'&#xA;'") = "*" {
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
21 X:template = "comment()|processing-instruction()" {
22 X:copy;
23 }
24
25 <!--
26 X:template ="text()[normalize-space(.)='']" {}
27 -->
28
29 }