| 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:
>>> from lxml import etree
>>> el = etree.Element('content')
>>> el.text = etree.CDATA('a string')
| Instance Methods | |||
|
|||
| a new object with type S, a subtype of T |
|
||
|
Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0 on Fri May 2 20:17:28 2008 | http://epydoc.sourceforge.net |