File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 8
8
9
9
## Use to conditionally render rendering elements.
10
10
element cs:choose { choose.if, choose.else-if*, choose.else? }
11
-
12
- ## When specifying conditions, we allow either the attribute syntax or the element-based one.
13
- choose.condition =
14
- (condition.atts, match?)
15
- | element cs:conditions { match, condition.elem+ }
16
- choose.if = element cs:if { choose.condition, rendering-element* }
11
+ choose.if = element cs:if { condition+, match, rendering-element* }
17
12
choose.else-if =
18
- element cs:else-if { choose. condition, rendering-element* }
13
+ element cs:else-if { condition+, match , rendering-element* }
19
14
choose.else = element cs:else { rendering-element+ }
20
-
21
- ## This element allows for more complex conditional logic; for
22
- ## example, if you need to specify mixed "match" rules.
23
- condition.elem = element cs:condition { match?, condition.atts }
24
- condition.atts =
15
+ condition =
25
16
26
17
## If used, the element content is only rendered if it disambiguates two
27
18
## otherwise identical citations. This attempt at disambiguation is only
You can’t perform that action at this time.
0 commit comments