TinyMCE:API/tinymce.dom.XMLWriter

From Moxiecode Documentation Wiki

Jump to: navigation, search

Class: tinymce.dom.XMLWriter

This class writes nodes into a XML document structure. This structure can then be serialized down to a HTML string later on.

Constructor

XMLWriter
Constructs a new XMLWriter.

Methods

getContent
Returns a string representation of the elements/nodes written.
reset
Resets the writer so it can be reused the contents of the writer is cleared.
writeAttribute
Writes an attrubute like for example: myattr="valie"
writeCDATA
Writes a CDATA section.
writeComment
Writes a comment.
writeEndElement
Write the end of a element.
writeFullEndElement
Writes the end of a element.
writeStartElement
Writes the start of an element like for example:
writeText
Writes a text node value.
Personal tools