# File lib/nokogiri/xml/document.rb, line 130
      def namespaces
        root ? root.namespaces : {}
      end