author | Edouard Tisserant |
Thu, 19 Sep 2019 15:32:36 +0200 | |
branch | svghmi |
changeset 2782 | 723e420dfe72 |
parent 2760 | 42a7ef43a0d8 |
child 2638 | f48dcd148209 |
permissions | -rw-r--r-- |
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 |
2760
42a7ef43a0d8
yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents:
2752
diff
changeset
|
2 |
!! |
42a7ef43a0d8
yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents:
2752
diff
changeset
|
3 |
def indent(level): |
42a7ef43a0d8
yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents:
2752
diff
changeset
|
4 |
return "" |
42a7ef43a0d8
yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents:
2752
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', |
2782
723e420dfe72
SVGHMI: added transformation of code given in inkscape's description fields into javascript functions
Edouard Tisserant
parents:
2760
diff
changeset
|
13 |
xmlns:regexp="http://exslt.org/regular-expressions", |
723e420dfe72
SVGHMI: added transformation of code given in inkscape's description fields into javascript functions
Edouard Tisserant
parents:
2760
diff
changeset
|
14 |
xmlns:str="http://exslt.org/strings", |
723e420dfe72
SVGHMI: added transformation of code given in inkscape's description fields into javascript functions
Edouard Tisserant
parents:
2760
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 |
|
2760
42a7ef43a0d8
yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents:
2752
diff
changeset
|
21 |
decl indent() alias -; |
42a7ef43a0d8
yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
Edouard Tisserant
parents:
2752
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 |