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