xsd.WhiteSpaceFacet¶
The xsd.WhiteSpaceFacet constraints the value spaces of types derived from xsd.string such that the various behaviors of Attribute Value Normalization as specified in the XML specification are realized.
Possible values are: xsd.WhiteSpace.PRESERVE, xsd.WhiteSpace.REPLACE and xsd.WhiteSpace.COLLAPSE.
Base class: xsd.Facet
- class xsd.WhiteSpaceFacet¶
Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedErrorexception.
Attributes¶
- xsd.Facet.builtin
Returns True if this
xsd.Facetvalue is predefined by the XML Schema specification.
- xsd.Facet.element
Returns the xml.ElementInformationItem representing this
xsd.Facetschema component.
- xsd.WhiteSpaceFacet.fixed¶
If fixed is True, then types for which the current type is the base type definition cannot specify a different value for this
xsd.Facet.
- xsd.WhiteSpaceFacet.value¶
Returns one of
xsd.WhiteSpace.PRESERVE,xsd.WhiteSpace.REPLACEandxsd.WhiteSpace.COLLAPSE.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__