annotate docs/xsls/dump.xsls @ 5034:e4441ebe05d5

Added support for {SHA} passwords (ticket #50). Note: use of {SHA} passwords is discouraged as {SHA} password scheme is vulnerable to attacks using rainbow tables. Use of {SSHA}, $apr1$ or crypt() algorithms as supported by OS is recommended instead. The {SHA} password scheme support is added to avoid the need of changing the scheme recorded in password files from {SHA} to {SSHA} because such a change hides security problem with {SHA} passwords. Patch by Louis Opter, with minor changes.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 07 Feb 2013 12:09:56 +0000
parents 2c863b4a8f93
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4830
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
1 X:stylesheet {
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
2
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
3 X:output method="xml"
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
4 X:param indent-increment="' '";
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
5
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
6 X:template noname(indent="'&#xA;'") = "*" {
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
7 !{$indent}
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
8
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
9 X:if "name()='xsl:template'" {
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
10 !{$indent}
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
11 }
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
12
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
13 X:copy {
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
14 X:copy-of "@*"
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
15 !!( indent = "concat($indent, $indent-increment)" );
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
16 X:if "./* " { !{$indent} }
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
17 }
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
18 }
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
19
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
20
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
21 X:template = "comment()|processing-instruction()" {
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
22 X:copy;
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
23 }
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
24
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
25 <!--
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
26 X:template ="text()[normalize-space(.)='']" {}
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
27 -->
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
28
2c863b4a8f93 Converted DOS-style newlines.
Ruslan Ermilov <ru@nginx.com>
parents: 450
diff changeset
29 }