A template rule is specified with the xsl:template element. The match attribute is a Pattern that identifies the source node
or nodes to which the rule applies. The match attribute is required unless the xsl:template element has a name attribute
]). It is an error for the value of the match attribute to contain a VariableReference. The content of the xsl:template element
is the template that is instantiated when the template rule is applied.
Examples (xslt:xml): Overview
1:1
2:1
3:2
4:2
5:2
6:2
7:2
8:2
9:2
10:2
11:2
12:2
13:2
14:2
15:2
16:1
17:3
18:4
19:5
20:1
21:6
22:6
23:6
24:2
25:1
26:7
27:7
28:7
29:7
30:7
31:3
32:3
33:3
34:3
35:3
36:8
37:8
38:8
39:9
40:8
41:9
42:2
43:2
44:2
45:8
46:2
47:2
48:2
49:2
50:10
51:10
52:2
53:11
54:12
55:12
56:2
57:2
58:8
59:13
60:3
61:3
62:2
63:2
64:3
65:3
66:2
67:2
68:2
69:2
70:2
71:2
72:2
73:2
74:2
74:14
75:15
76:16
77:2
78:17
79:17
80:18
81:19
82:19
83:18
84:2
85:4
86:2
87:8
88:8
89:8
90:8
91:8
92:8Interactive xlab: [xsl:template]
|