elementonly
Elementonly is a term encountered in SGML and XML contexts to describe an element content model that contains only child elements, with no character data (PCDATA) allowed inside the element. In practice, an element defined as element-only means its content must be a sequence of elements according to the declared model, and text nodes are not permitted at that level of the hierarchy.
In DTDs, element-only content is expressed by an element declaration that lists only element names in its
Element-only content is contrasted with mixed content, where text can appear alongside elements (for example, #PCDATA
In XML Schema, the corresponding concept is achieved by defining a complex type with a sequence (or