# File lib/hpricot/elements.rb, line 141
    def before(str)
      each { |x| x.parent.insert_before Hpricot.make(str), x }
    end