# File rexml/element.rb, line 85
def
root parent.nil? ?
self
: parent.root
end