Class: ROXML::XML::Document

Inherits:
Object
  • Object
show all
Includes:
NamespacedSearch
Defined in:
lib/roxml/xml/parsers/libxml.rb,
lib/roxml/xml/parsers/nokogiri.rb

Instance Method Summary collapse

Instance Method Details

#default_namespaceObject



68
69
70
71
# File 'lib/roxml/xml/parsers/libxml.rb', line 68

def default_namespace
  default = namespaces.default
  default.prefix || 'xmlns' if default
end