xml.Comment

A Comment object represents a XML comment information item.

class xml.Comment

Attributes

xml.Comment.content

A string representing the content of the comment.

xml.Comment.parent

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

Special methods

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