xml.dtd.ContentSpec
¶
The xml.dtd.ContentSpec
enumeration represents the content model type of an element. See here for more details.
Constants¶
- xml.dtd.ContentSpec.EMPTY
The element must not contain any character data and child elements.
- xml.dtd.ContentSpec.ANY
The element may contain character data and any child elements.
- xml.dtd.ContentSpec.MIXED
The element may contain character data and any child elements specified in the content model.
- xml.dtd.ContentSpec.CHILDREN
The element must contain an ordered sequence of child elements according to the specified in the content model.