xsd.ContentType
¶
A ContentType class specifies the element’s content type.
-
class
xsd.
ContentType
¶
Attributes¶
-
xsd.ContentType.
open_content
¶ An OpenContent property record. Optional if {variety} is element-only or mixed, otherwise must be absent.
-
xsd.ContentType.
particle
¶ A Particle component. Required if {variety} is element-only or mixed, otherwise must be absent.
-
xsd.ContentType.
simple_type_definition
¶ A SimpleTypeDefinition component. Required if {variety} is simple, otherwise must be absent.
-
xsd.ContentType.
variety
¶ One of {empty, simple, element-only, mixed}. Required.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__