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