module Hpricot::Traverse

def following

Find all nodes which follow the current one.
def following
  sibs = parent.children 
  si = sibs.index(self) + 1 
  return Elements[*sibs[si...sibs.length]] 
end