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