yslt_noindent.yml2
author Edouard Tisserant
Thu, 19 Sep 2019 15:32:36 +0200
changeset 2636 a0154a041148
parent 2630 4d5c5e5871ab
child 2638 f48dcd148209
permissions -rw-r--r--
More customizations to yslt
1936
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     1
include yslt.yml2
2630
4d5c5e5871ab yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents: 2627
diff changeset
     2
!!
4d5c5e5871ab yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents: 2627
diff changeset
     3
def indent(level):
4d5c5e5871ab yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents: 2627
diff changeset
     4
    return ""
4d5c5e5871ab yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents: 2627
diff changeset
     5
!!
1936
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     6
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     7
in xsl {
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     8
    decl istylesheet (
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     9
        *output="xml",
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    10
        version="1.0",
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    11
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform",
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    12
        xmlns:exsl='http://exslt.org/common',
2636
a0154a041148 More customizations to yslt
Edouard Tisserant
parents: 2630
diff changeset
    13
        xmlns:regexp="http://exslt.org/regular-expressions",
a0154a041148 More customizations to yslt
Edouard Tisserant
parents: 2630
diff changeset
    14
        xmlns:str="http://exslt.org/strings",
a0154a041148 More customizations to yslt
Edouard Tisserant
parents: 2630
diff changeset
    15
        extension-element-prefixes='exsl regexp str'
1936
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    16
    ) alias stylesheet {
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    17
        output *output;
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    18
        content;
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    19
    };
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    20
2630
4d5c5e5871ab yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents: 2627
diff changeset
    21
    decl indent() alias -; 
4d5c5e5871ab yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents: 2627
diff changeset
    22
1936
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    23
    decl template(match) {
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    24
        content;
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    25
    };
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    26
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    27
    decl function(name) alias template {
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    28
        content;
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    29
    };
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    30
   
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    31
    decl call(name) alias call-template {
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    32
        content;
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    33
    };
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    34
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    35
    decl apply(select) alias apply-templates {
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    36
        content;
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    37
    };
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    38
}
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    39
b85b13b1c2ec YSLT auto indent trick is useless here, added yslt_noindent.yml2, regenerated XSLT files
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    40