TiXmlText
from panda3d.core import TiXmlText
- class TiXmlText
Bases:
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 withSetCDATA()
and query it withCDATA()
.Inheritance diagram
- __init__(initValue: str)
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)
/// Constructor.