Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions schemas/styles/csl-choose.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ div {

## When specifying conditions, we allow either the attribute syntax or the element-based one.
choose.condition =
(condition.atts, relation?, match?)
| element cs:conditions { match?, relation?, condition.elem+ }
(condition.atts, relation, match?)
| element cs:conditions { match?, relation, condition.elem+ }
choose.if = element cs:if { choose.condition, rendering-element* }
choose.else-if =
element cs:else-if { choose.condition, rendering-element* }
Expand All @@ -21,7 +21,7 @@ div {
## This element allows for more complex conditional logic; for
## example, if you need to specify mixed "match" rules.
condition.elem =
element cs:condition { match?, relation?, condition.atts }
element cs:condition { match?, relation, condition.atts }
condition.atts =
(condition.atts.simple+, condition.atts.complex?)
| condition.atts.complex
Expand Down