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