blob: 07ccf529e4ab6c815ba2ac19f6d4a444544853ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
X:stylesheet {
X:template = "directive" {
<hr/>
<a name="{@name}"/>
<!-- <center><h4> !{@name} </h4></center> -->
!! "syntax";
!! "default";
!! "context";
X:if "(@appeared-in)" {
<strong>appeared in version</strong>: !{@appeared-in}
}
!! "para";
}
X:template = "syntax" {
X:if "position() = 1" {
<strong>syntax</strong>:
} else {
<code>       </code>
}
<code> !!; </code> <br/>
}
X:template = "default" {
<strong>default</strong>:
X:if "count(text()) = 0" {
<strong>none</strong>
} else {
<code> !!; </code>
}
<br/>
}
X:template = "context" {
X:if "position() = 1" {
<strong>context</strong>:
}
X:if "count(text()) = 0" {
<strong>any</strong>
} else {
<code> !!; </code>
}
X:if "position() != last()" {
X:text{, }
} else {
<br/>
}
}
}
|