RainCode - XMLBooster

Element: ENCLOSED

The ENCLOSED operator defines an enclosing couple ... around an argument formula. The parser generated by XMLBOOSTER will just skip the leading and trailing tag, and parse the argument.

The purpose of the ENCLOSED operator is to avoid the definition of large numbers of phony elements just for the purpose of the recognition of nested tags.

Attributes

Name Type Optional
NAME STRING No Name of the enclosing XML tag.
OPTIONAL BOOLEAN Yes Indicates whether the enclosed structure is optional or not. Default is FALSE.
RECOVERY BOOLEAN Yes Pro version only If set to TRUE, this attributes causes the XMLBooster-generated parser to enable error-recovery mechanism for this ENCLOSED construct. In any case, this attribute can be used to override the RECOVERY attribute as defined at the system level.

Content

Sequence of
META
ONE OF
CONCAT
REPEAT
ELEMENTREF
ALIEN
ENCLOSED
DISJUNCT
PCDATA

Appears in

FORMULA; CONCAT; REPEAT; DISJUNCT; ENCLOSED

DTD declaration

<!ELEMENT ENCLOSED
((META)*, (CONCAT| REPEAT| ELEMENTREF| ALIEN| ENCLOSED| DISJUNCT| PCDATA))
>

<!ATTLIST ENCLOSED
NAME CDATA #REQUIRED
OPTIONAL (YES|yes|Y|y|ON|On|on|TRUE|true|True|1|NO|no|N|n|OFF|Off|off|FALSE|false|False|0) #IMPLIED
RECOVERY (YES|yes|Y|y|ON|On|on|TRUE|true|True|1|NO|no|N|n|OFF|Off|off|FALSE|false|False|0) #IMPLIED
>