This shows you the differences between two versions of the page.
— |
rulebase [2014/09/16 14:26] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== The <ruleBase> Element ===== | ||
+ | ==== Definition and Usage ==== | ||
+ | |||
+ | The [[rulebase|<ruleBase>]] element groups a set of rules specified in [[rule|<rule>]] | ||
+ | and [[compositerule|<compositeRule>]] elements. The specification of rules in NCL 3.0 | ||
+ | was done in a separate module, because they are useful for defining either | ||
+ | alternative components or alternative descriptors. | ||
+ | |||
+ | ==== Syntax ==== | ||
+ | ^ Element ^ Attributes ^ Content ^ Parent ^ | ||
+ | | [[rulebase|<ruleBase>]] | //id// | ([[importbase|<importBase>]] <nowiki>|</nowiki> [[compositerule|<compositeRule>]] <nowiki>|</nowiki> [[rule|<rule>]])+ | [[head|<head>]] | | ||
+ | ==== Attributes ==== | ||
+ | |||
+ | ^ Name ^ Value ^ Description ^ | ||
+ | | //id// | It may receive any string value that begins with a letter or an underscore and that only contains letters, digits, <".">, and <"_">. | The //id// attribute uniquely identifies the element within a document. | | ||
+ | |||
+ | |||
+ | |||