yslt_noindent.yml2
author Edouard Tisserant
Thu, 05 Sep 2019 08:35:33 +0200
changeset 2633 fecdb71e7514
parent 2630 4d5c5e5871ab
child 2636 a0154a041148
permissions -rw-r--r--
Fixed sequel of earlier commit in PLCGenerator.py. Some ref to temporary variables are still not using the _TMP_ prefix. They are quite hard to find, so to be continued...
include yslt.yml2
!!
def indent(level):
    return ""
!!

in xsl {
    decl istylesheet (
        *output="xml",
        version="1.0",
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform",
        xmlns:exsl='http://exslt.org/common',
        extension-element-prefixes='exsl'
    ) alias stylesheet {
        output *output;
        content;
    };

    decl indent() alias -; 

    decl template(match) {
        content;
    };

    decl function(name) alias template {
        content;
    };
   
    decl call(name) alias call-template {
        content;
    };

    decl apply(select) alias apply-templates {
        content;
    };
}