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 str . 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.