class Nokogiri::XML::NodeSet

def wrap(html, &blk)

Wrap this NodeSet with +html+ or the results of the builder in +blk+
##
def wrap(html, &blk)
  each do |j|
    new_parent = Nokogiri.make(html, &blk)
    j.parent.add_child(new_parent)
    new_parent.add_child(j)
  end
  self
end