view xsls/dump.xsls @ 310:86732337c730

Added a historical information for proxy_cache_lock, proxy_cache_lock_timeout, fastcgi_cache_lock, and fastcgi_cache_lock_timeout directives.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 12 Jan 2012 12:22:06 +0000
parents 1ebe107b3d7e
children be54c443235a
line wrap: on
line source

X:stylesheet {

X:output method="xml"
X:param indent-increment="'   '";

X:template noname(indent="'&#xA;'") = "*" {
        !{$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(.)='']" {}
-->

}