/bundles/plugins-trunk/XML/test_data/rnc/actions.rnc
Unknown | 19 lines | 18 code | 1 blank | 0 comment | 0 complexity | f858d7b94e9b52f0927ffdab9ce9a532 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
- att-bool = "TRUE" | "FALSE"
- # ACTIONS element
- ACTIONS = element ACTIONS { ACTIONS-attlist, ACTION+ }
- ACTIONS-attlist &= empty
- # ACTION element
- ACTION = element ACTION { ACTION-attlist, CODE, IS_SELECTED? }
- ACTION-attlist &=
- attribute NAME { xsd:ID },
- [ a:defaultValue = "FALSE" ] attribute NO_REPEAT { att-bool }?,
- [ a:defaultValue = "FALSE" ] attribute NO_RECORD { att-bool }?,
- [ a:defaultValue = "FALSE" ] attribute NO_REMEMBER_LAST { att-bool }?
- # ACTION children
- CODE = element CODE { CODE-attlist, text }
- CODE-attlist &= empty
- IS_SELECTED = element IS_SELECTED { IS_SELECTED-attlist, text }
- IS_SELECTED-attlist &= empty
- start = ACTIONS