yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote. svghmi
authorEdouard Tisserant
Tue, 20 Aug 2019 10:01:18 +0200
branchsvghmi
changeset 2760 42a7ef43a0d8
parent 2759 7345bd8a98eb
child 2761 2684d643f60f
yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
yslt_noindent.yml2
--- a/yslt_noindent.yml2	Wed Aug 14 13:06:03 2019 +0200
+++ b/yslt_noindent.yml2	Tue Aug 20 10:01:18 2019 +0200
@@ -1,4 +1,8 @@
 include yslt.yml2
+!!
+def indent(level):
+    return ""
+!!
 
 in xsl {
     decl istylesheet (
@@ -12,6 +16,8 @@
         content;
     };
 
+    decl indent() alias -; 
+
     decl template(match) {
         content;
     };