This method retrieves the name of the notation.
Method contributed by Henrik Martensson
# File rexml-3.2.5/lib/rexml/doctype.rb, line 307 def name @name end
# File rexml-3.2.5/lib/rexml/doctype.rb, line 290 def to_s context = nil context = parent.context if parent notation = "<!NOTATION #{@name}" reference_writer = ReferenceWriter.new(@middle, @public, @system, context) reference_writer.write(notation) notation << ">" notation end