class TiXmlText

Bases: TiXmlNode

XML text. A text node can have 2 ways to output the next. “normal” output and CDATA. It will default to the mode it was parsed from the XML file and you generally want to leave it alone, but you can change the output mode with SetCDATA() and query it with CDATA().

Inheritance diagram

Inheritance diagram of TiXmlText

CDATA() → bool

/// Queries whether this represents text using a CDATA section.

SetCDATA(_cdata: bool) → None

/// Turns on or off a CDATA representation of text.

__init__(copy: TiXmlText) → None
__init__(initValue: str) → None

Constructor for text element. By default, it is treated as normal, encoded text. If you want it be output as a CDATA text element, set the parameter _cdata to ‘true’

__init__(initValue: str) → None

/// Constructor.

assign(base: TiXmlText) → TiXmlText
Return type