= 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 85 def document return parent.document unless parent.nil? nil end