Public Member Functions | |
def | toXml |
Generate XML output of the node. More... | |
![]() | |
def | __init__ |
def | __str__ |
def | __unicode__ |
def | toXml |
Write XML in UTF-8. More... | |
![]() | |
def | appendChild |
Raises an error. More... | |
def | hasChildNodes |
def | insertBefore |
Raises an error. More... | |
def | removeChild |
Raises an error. More... | |
def | replaceChild |
Raises an error. More... | |
![]() | |
def | hasChildNodes |
Tells whether this element has any children; text nodes, subelements, whatever. More... | |
def | insertBefore |
Inserts the node newChild before the existing child node refChild. More... | |
def | appendChild |
Adds the node newChild to the end of the list of children of this node. More... | |
def | removeChild |
Removes the child node indicated by oldChild from the list of children, and returns it. More... | |
def | __str__ |
def | __unicode__ |
Static Public Attributes | |
nodeType = Node.CDATA_SECTION_NODE | |
![]() | |
nodeType = Node.TEXT_NODE | |
string | tagName = "Text" |
![]() | |
attributes = None | |
tuple | childNodes = EmptyNodeList() |
firstChild = None | |
lastChild = None | |
![]() | |
parentNode = None | |
nextSibling = None | |
previousSibling = None | |
Additional Inherited Members | |
![]() | |
data | |
Definition at line 280 of file element.py.
def odf.element.CDATASection.toXml | ( | self, | |
level, | |||
f | |||
) |
Generate XML output of the node.
If the text contains "]]>", then escape it by going out of CDATA mode (]]>), then write the string and then go into CDATA mode again. (<![CDATA[)
Definition at line 288 of file element.py.
|
static |
Definition at line 281 of file element.py.