xsd.ContentTypeVariety

The xsd.ContentTypeVariety enumeration provides values for the xsd.ContentType.variety property of the xsd.ContentType property record.

Constants

xsd.ContentTypeVariety.EMPTY

A xsd.ContentType with this variety validates elements with no xml.CharDataInformationItem or xml.ElementInformationItem children.

xsd.ContentTypeVariety.SIMPLE

A xsd.ContentType with this variety validates elements with character-only children using its xsd.SimpleTypeDefinition.

xsd.ContentTypeVariety.ELEMENT_ONLY

A xsd.ContentType with this variety validates elements with children that conform to the content model supplied by its xsd.Particle.

xsd.ContentTypeVariety.MIXED

A xsd.ContentType with this variety validates elements whose xml.ElementInformationItem children (i.e. specifically ignoring other children such as xml.CharDataInformationItem objects) conform to the content model supplied by its xsd.Particle.