Files
tryton/trytond/tryton.rnc
T

28 lines
1.1 KiB
Plaintext

namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
tryton = element tryton { attlist.tryton, data* }
attlist.tryton &= empty
data = element data { attlist.data, (record | menuitem)* }
attlist.data &=
[ a:defaultValue = "0" ] attribute noupdate { "0" | "1" }?
record = element record { attlist.record, field* }
attlist.record &= attribute model { text }
attlist.record &= attribute id { text }
attlist.record &=
[ a:defaultValue = "0" ] attribute update { "0" | "1" }?
field = element field { attlist.field, text }
attlist.field &= attribute name { text }
attlist.field &= attribute search { text }?
attlist.field &= attribute ref { text }?
attlist.field &= attribute eval { text }?
attlist.field &= attribute type { "xml" }?
menuitem = element menuitem { attlist.menuitem, empty }
attlist.menuitem &= attribute id { text }
attlist.menuitem &= attribute name { text }?
attlist.menuitem &= attribute icon { text }?
attlist.menuitem &= attribute sequence { text }?
attlist.menuitem &= attribute parent { text }?
attlist.menuitem &= attribute action { text }?
attlist.menuitem &= attribute groups { text }?
start = tryton