File tree 3 files changed +38
-9
lines changed
3 files changed +38
-9
lines changed Original file line number Diff line number Diff line change 99
99
" storage.type"
100
100
],
101
101
"attributeNameTest" : [
102
- " storage.type "
102
+ " variable.parameter "
103
103
],
104
104
"xslElementName" : [
105
105
" storage.type"
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <xsl : stylesheet xmlns : xsl =" http://www.w3.org/1999/XSL/Transform"
3
+ xmlns:xs=" http://www.w3.org/2001/XMLSchema"
4
+ xmlns:array=" http://www.w3.org/2005/xpath-functions/array"
5
+ xmlns:map=" http://www.w3.org/2005/xpath-functions/map"
6
+ xmlns:math=" http://www.w3.org/2005/xpath-functions/math"
7
+ exclude-result-prefixes=" #all"
8
+ expand-text=" yes"
9
+ version=" 3.0" >
10
+
11
+ <xsl : output method =" xml" indent =" yes" />
12
+ <xsl : mode on-no-match =" shallow-copy" />
13
+ <xsl : param name =" prefixes" as =" " select =" " />
14
+
15
+ <?process 8798?>
16
+ <xsl : template match =" item[@class eq 'random']" mode =" #all" >
17
+ <!-- Gather together -->
18
+ <xsl : variable name =" list" as =" xs:string*"
19
+ select="
20
+ for $num in 1 to 20 return
21
+ substring($prefixes[$num], 5) =>
22
+ string-join('end' || $num)" />
23
+
24
+ <body id =" {$list[2]}" >
25
+ <text >All prefixes '{$list}' < included.</text >
26
+ </body >
27
+ </xsl : template >
28
+
29
+
30
+
31
+ </xsl : stylesheet >
Original file line number Diff line number Diff line change 8
8
9
9
version =" 3.0" >
10
10
11
- <xsl : import href =" sat.xsl" />
11
+ <xsl : template match =" *" mode =" #default one two" >
12
+ <xsl : apply-templates select =" *" mode =" two" />
13
+ </xsl : template >
12
14
13
- <xsl : variable name =" test" as =" xs:string" select =" $map.new ! ?a" />
14
-
15
- <xsl : variable name =" map.new" as =" xs:string" select ="
16
- let $a := map {
17
- 'a': ('test')
18
- }
19
- return $a" />
15
+ <xsl : template match =" any" mode =" #default" >
16
+ <xsl : apply-templates select =" six" mode =" one" />
17
+ </xsl : template >
20
18
21
19
</xsl : stylesheet >
You can’t perform that action at this time.
0 commit comments