class LibXML::XML::Namespace

def each

end
..
namespace.each do |ns|
Usage:

the first namespace in the loop is the current namespace.
Use the each method to iterate over the list. Note
libxml stores namespaces in memory as a linked list.

namespace.each {|ns| .. }
call-seq:
def each
  ns = self
  while ns
    yield ns
    ns = ns.next
  end
end