method
get_namespace
get_namespace( prefix )
private
Hide source
# File lib/rexml/parsers/sax2parser.rb, line 265 def get_namespace( prefix ) uris = (@namespace_stack.find_all { |ns| not ns[prefix].nil? }) || (@namespace_stack.find { |ns| not ns[nil].nil? }) uris[-1][prefix] unless uris.nil? or 0 == uris.size end