xml.dtd.AttDef¶
The xml.dtd.AttDef class represents an XML attribute definition.
Base class: xml.dtd.DTDComponent
-
class
xml.dtd.AttDef¶ Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedErrorexception.
Attributes¶
-
xml.dtd.AttDef.default_decl¶ Returns the attribute definition default type as an
xml.dtd.DefaultDeclenumeration.
-
xml.dtd.AttDef.default_value¶ Returns a string with the default value for this attribute definition, or None if this attribute definition does not have a default value.
-
xml.dtd.AttDef.enumeration_values¶ Returns an iterator of string objects which represent the possible enumeration values for this attribute definition.
-
xml.dtd.AttDef.name¶ Returns a string with the name of the attribute definition.
-
xml.dtd.AttDef.type¶ Returns the attribute definition type as an
xml.dtd.AttTypeenumeration.