# File proofreader.rb, line 346 def content(element_or_attribute) case element_or_attribute when REXML::Attribute return element_or_attribute.value when REXML::Element return element_or_attribute.text end end