Element: ENCLOSED

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

The purpose of the ENCLOSED operator is to avoid the definition of large numbersof 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 isoptional 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.
IGNOREALIENATTRS BOOLEAN Yes Pro version only If set to TRUE, this attributes causes the XMLBooster-generated parser to accept (and ignore) alien attributes, that is, attributes that are not defined within the meta-definition file.

Content

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

Appears in

CONCAT; DISJUNCT; FORMULA; ENCLOSED; PERM; REPEAT

DTD declaration

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

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