Class | LibXML::XML::Namespace |
In: |
lib/libxml/namespace.rb
|
Parent: | Object |
Compares two namespace objects. Namespace objects are considered equal if their prefixes and hrefs are the same.
libxml stores namespaces in memory as a linked list. Use the each method to iterate over the list. Note the first namespace in the loop is the current namespace.
Usage:
namespace.each do |ns| .. end