6.3.5 Text Objects

class Text()

This is the node type used for all text data in a document object. Unlike XML DOM text nodes, text nodes in plasTeX are not mutable. This is because they are a subclass of unicode. This means that they will respond to all of the standard Python string methods in addition to the Node methods and the methods described below.


the text content of the node


the length of the text content


the text content of the node


returns the text content from the current text node as well as its siblings