Staging: this is not the live site, pydocs.org.
Structured Markup Processing Tools xml.parsers.expat.model Symbols in xml.parsers.expat.model x XML_CQUANT_NONE No modifier is given, so it can appear exactly once, as for A. XML_CQUANT_OPT The model is optional: it can appear once or not at all, as for A?. XML_CTYPE_ANY The element named by the model name was declared to have a content model of ANY. XML_CTYPE_CHOICE The named element allows a choice from a number of options; this is used for content models such as (A | B | C). XML_CTYPE_EMPTY Elements which are declared to be EMPTY have this model type. XML_CTYPE_MIXED The named element allows character data, optionally interspersed with the named children; this is used for content models such as (#PCDATA) and (#PCDATA | A | B)*. XML_CTYPE_SEQ Models which represent a series of models which follow one after the other are indicated with this model type.
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF