xml.Character

A Character object represents XML character information items.

class xml.Character

Attributes

xml.Character.character_code

A string representing all merged adjecent character information item’s code points.

xml.Character.element_content_whitespace

A boolean indicating whether the character is white space appearing within element content.

xml.Character.parent

The element information item which contains this information item in its children attribute.

Special methods

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