Home | Trees | Indices | Help |
|
---|
|
object --+ | CDATA
CDATA(data)
CDATA factory. This factory creates an opaque data object that can be used to set Element text. The usual way to use it is:
>>> el = Element('content') >>> el.text = CDATA('a string') >>> print(el.text) a string >>> print(tostring(el, encoding="unicode")) <content><![CDATA[a string]]></content>
|
|||
a new object with type S, a subtype of T |
|
||
Inherited from |
|
|||
Inherited from |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Nov 4 09:26:47 2017 | http://epydoc.sourceforge.net |