xml.dtd.NotationDecl

The xml.dtd.NotationDecl class represents an XML notation declaration.

Base class: xml.dtd.DTDComponent

class xml.dtd.NotationDecl

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xml.dtd.NotationDecl.name

Returns a string with the name of the notation declaration.

xml.dtd.NotationDecl.public

Returns a string with the value of the public identifer, or None if not present.

xml.dtd.NotationDecl.system

Returns a string with the value of the system identifer, or None if not present.

Methods

xml.dtd.DTDComponent.xlocation_url()

Returns proprietary Altova URL to this Component’s declaration. Returns None for Components witout a declaration (e.g. predefined entities).

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__