# File src/rexml/element.rb, line 93
                def document
                        root.parent if root
                end