equal
deleted
inserted
replaced
1 // YSLT version 2.5.5 |
1 // YSLT version 2.6.2 |
2 |
2 |
3 !! |
3 !! |
4 def indent(level): |
4 def indent(level): |
5 return "value 'substring($space, 1, $_indent+" + str(level) + "*$autoindent)';" |
5 return "value 'substring($space, 1, $_indent+" + str(level) + "*$autoindent)';" |
6 !! |
6 !! |
47 |
47 |
48 decl textstylesheet is estylesheet(*output="text") { |
48 decl textstylesheet is estylesheet(*output="text") { |
49 output *output; |
49 output *output; |
50 const "space", !"'" + " " * 200 + "'"!; |
50 const "space", !"'" + " " * 200 + "'"!; |
51 param "autoindent", 4; |
51 param "autoindent", 4; |
52 xsl:template "text()"; |
52 xsl:template match="text()"; |
53 content; |
53 content; |
54 }, tstylesheet is textstylesheet; |
54 }, tstylesheet is textstylesheet; |
55 |
55 |
56 decl template(match) { |
56 decl template(match) { |
57 _trace_param *_trace_info; |
57 _trace_param *_trace_info; |