PageRenderTime 256ms CodeModel.GetById 253ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/XML/test_data/rnc/actions.rnc

#
Unknown | 19 lines | 18 code | 1 blank | 0 comment | 0 complexity | f858d7b94e9b52f0927ffdab9ce9a532 MD5 | raw file
 1namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
 2
 3att-bool = "TRUE" | "FALSE"
 4# ACTIONS element
 5ACTIONS = element ACTIONS { ACTIONS-attlist, ACTION+ }
 6ACTIONS-attlist &= empty
 7# ACTION element
 8ACTION = element ACTION { ACTION-attlist, CODE, IS_SELECTED? }
 9ACTION-attlist &=
10  attribute NAME { xsd:ID },
11  [ a:defaultValue = "FALSE" ] attribute NO_REPEAT { att-bool }?,
12  [ a:defaultValue = "FALSE" ] attribute NO_RECORD { att-bool }?,
13  [ a:defaultValue = "FALSE" ] attribute NO_REMEMBER_LAST { att-bool }?
14# ACTION children
15CODE = element CODE { CODE-attlist, text }
16CODE-attlist &= empty
17IS_SELECTED = element IS_SELECTED { IS_SELECTED-attlist, text }
18IS_SELECTED-attlist &= empty
19start = ACTIONS