Sha256: 87fc878b1cb6c4495f6902876afc31f21d8aa3065e18beaf28c106198061791f

Contents?: true

Size: 314 Bytes

Versions: 185

Compression:

Stored size: 314 Bytes

Contents

module Nokogiri
  module XML
    class XPathContext

      ###
      # Register namespaces in +namespaces+
      def register_namespaces(namespaces)
        namespaces.each do |k, v|
          k = k.gsub(/.*:/,'') # strip off 'xmlns:' or 'xml:'
          register_ns(k, v)
        end
      end

    end
  end
end

Version data entries

185 entries across 185 versions & 20 rubygems

Version Path
nokogiri-1.3.1-x86-mingw32 lib/nokogiri/xml/xpath_context.rb
nokogiri-1.3.1-java lib/nokogiri/xml/xpath_context.rb
nokogiri-1.3.0-x86-mswin32 lib/nokogiri/xml/xpath_context.rb
nokogiri-1.3.1 lib/nokogiri/xml/xpath_context.rb
nokogiri-1.3.1-x86-mswin32 lib/nokogiri/xml/xpath_context.rb