= private = protected
document()
Returns
the document this child belongs to, or nil if this child
belongs to no document
# File lib/rexml/child.rb, line 84 def document return parent.document unless parent.nil? nil end