File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
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 = condition.atts, match?
14
- choose.if = element cs:if { choose.condition, rendering-element* }
11
+ choose.if = element cs:if { condition+, match, rendering-element* }
15
12
choose.else-if =
16
- element cs:else-if { choose. condition, rendering-element* }
13
+ element cs:else-if { condition+, match , rendering-element* }
17
14
choose.else = element cs:else { rendering-element+ }
18
-
19
- ## This element allows for more complex conditional logic; for
20
- ## example, if you need to specify mixed "match" rules.
21
- condition.elem = element cs:condition { match?, condition.atts }
22
- condition.atts =
15
+ condition =
23
16
24
17
## If used, the element content is only rendered if it disambiguates two
25
18
## otherwise identical citations. This attempt at disambiguation is only
You can’t perform that action at this time.
0 commit comments