Converted DOS-style newlines.
This commit is contained in:
parent
4e63f32acc
commit
75795fe26f
1 changed files with 29 additions and 29 deletions
|
@ -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(.)='']" {}
|
||||
-->
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue