diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2012-09-24 18:30:26 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2012-09-24 18:30:26 +0000 |
| commit | 649cd3b401d37662d541aaf030fb0d90d1b43203 (patch) | |
| tree | 1f28fe1201020a36e24b9980b44877eedeff32f1 /docs/xsls/dump.xsls | |
| parent | bd0a1916ddd0e8969594097c125aeef97bf9a18e (diff) | |
| download | nginx-649cd3b401d37662d541aaf030fb0d90d1b43203.tar.gz nginx-649cd3b401d37662d541aaf030fb0d90d1b43203.tar.bz2 | |
Merge of r4777, r4780, r4831, r4832: release process changes.
*) Simplified makefile that builds CHANGES.
*) Removed the need in Perl to generate ZIP archive of nginx/Windows.
*) Converted DOS-style newlines in dump.xslt.
*) Pass changes.xml thru xmllint when generating CHANGES and CHANGES.ru.
Diffstat (limited to '')
| -rw-r--r-- | docs/xsls/dump.xsls | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/docs/xsls/dump.xsls b/docs/xsls/dump.xsls index 6b39966a0..05bc79125 100644 --- a/docs/xsls/dump.xsls +++ b/docs/xsls/dump.xsls @@ -1,29 +1,29 @@ -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(.)='']" {}
--->
-
-}
+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(.)='']" {} +--> + +} |
