Limit Element to first or last (FM2022)
In one of our elements, CELLTEXT, we have the following General Rule (<TEXT> | Emphasis | BulletList | NumList | Action | Highlight)*. Another element, SLIDE, can appear only appear once, either as the first element within CELLTEXT before those in the General Rule, or the last element after those in the General Rule.
I can change the General Rule to be Slide?, (<TEXT> | Emphasis | BulletList | NumList | Action | Highlight)* so it can appear first, or (<TEXT> | Emphasis | BulletList | NumList | Action | Highlight)*, Slide? so it can appears last. Is there a way to combine these into a single General Rule?
