mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
nginx-0.1.0-RELEASE import
*) The first public version.
This commit is contained in:
29
docs/xsls/dump.xsls
Normal file
29
docs/xsls/dump.xsls
Normal file
@@ -0,0 +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(.)='']" {}
|
||||
-->
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user