# File lib/xml/dom/core.rb, line 435 def firstChild return nil if !@children || @children.length == 0 return @children[0] end