# File src/rexml/text.rb, line 132
                def to_s
                        return @string if @raw
                        return @normalized if @normalized

                        doctype = nil
                        if @parent
                                doc = @parent.document
                                doctype = doc.doctype if doc
                        end

                        @normalized = Text::normalize( @string, doctype, @entity_filter )
                end