xsd.NamespaceConstraint
¶
The xsd.NamespaceConstraint
property provides properties to constraint the xml.AttributeInformationItem and xml.ElementInformationItem objects validated by an xsd.AnyAttribute
or an xsd.Any
schema component.
- class xsd.NamespaceConstraint¶
Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedError
exception.
Attributes¶
- xsd.NamespaceConstraint.disallowed_names¶
Returns an iterator of either xml.QName or the keyword defined or the keyword sibling.
- xsd.NamespaceConstraint.namespaces¶
Returns an iterator of namespace URIs.
- xsd.NamespaceConstraint.variety¶
Returns one of {
xsd.NamespaceConstraintVariety.ANY
,xsd.NamespaceConstraintVariety.ENUMERATION
,xsd.NamespaceConstraintVariety.NOT
}.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__