annotate xsls/dump.xsls @ 271:4c6d2c614d2c

Cleaned up XML tag mess: - all of <parameter> and <code>, and some of <dirname>, <value>, and <command> were replaced by <literal>; - the rest of <dirname> were replaced by links; - <argument> were replaced by <value>; - <value> is now rendered in HTML in italic; - <literal> and <path> can now contain <value>. Cleaned up terminology mess: - directives take "parameters".
author Ruslan Ermilov <ru@nginx.com>
date Fri, 23 Dec 2011 17:29:59 +0000
parents 1ebe107b3d7e
children be54c443235a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
1 X:stylesheet {
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
2
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
3 X:output method="xml"
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
4 X:param indent-increment="' '";
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
5
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
6 X:template noname(indent="'&#xA;'") = "*" {
132
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
7 !{$indent}
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
8
132
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
9 X:if "name()='xsl:template'" {
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
10 !{$indent}
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
11 }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
12
132
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
13 X:copy {
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
14 X:copy-of "@*"
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
15 !!( indent = "concat($indent, $indent-increment)" );
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
16 X:if "./* " { !{$indent} }
1ebe107b3d7e Expanded tabs into spaces.
Ruslan Ermilov <ru@nginx.com>
parents: 0
diff changeset
17 }
0
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
18 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
19
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
20
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
21 X:template = "comment()|processing-instruction()" {
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
22 X:copy;
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
23 }
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
24
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
25 <!--
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
26 X:template ="text()[normalize-space(.)='']" {}
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
27 -->
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
28
61e04fc01027 Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff changeset
29 }