Element: MIXED

The MIXED describes mixed contents, and must take thelist of elements that can occur within this mixedcontent as parameter.

Attributes

Name Type Optional Values
TARGET STRING Yes
MODE Yes PRESERVE; REPLACE; COLLAPSE This attribute controls how the text fragments in themixed data ought to be parsed.It can take three values:
  • PRESERVE (Default value), the content of the PCDATA component is preserved and fetched as is, including white space, line breaks, tabs, etc.
  • REPLACE, tabs and line breaks are duly replaced by white space before being fetched
  • COLLAPSE: behaves like REPLACE, but sequences of more than one white space are replaced by a single white space character.
This behaviour is directly derived from the schema's whiteSpacefacet.

Content

Non-empty sequence of
ELEMENTREF

Appears in

FORMULA; ENCLOSED

DTD declaration

<!ELEMENT MIXED
(ELEMENTREF)+
>

<!ATTLIST MIXED
TARGET CDATA #IMPLIED
MODE (PRESERVE|REPLACE|COLLAPSE) #IMPLIED
>