# File lib/xml/util/xmlcanonicalizer.rb, line 60
        def node_namespaces()
          ns = Array.new()
          ns.push(self.prefix())
          self.attributes().each_attribute{|a|
            if (a.prefix() != nil)
              ns.push(a.prefix())
            end
            if (a.prefix() == "" && a.local_name() == "xmlns")
              ns.push("xmlns")
            end
          }
          ns
        end