# File lib/ruote/parser/xml.rb, line 43
      def initialize (parent, name, attributes)

        @parent = parent
        @name = name
        @attributes = attributes.inject({}) { |h, (k, v)|
          h[k.gsub(/-/, '_')] = v
          h
        }
        @children = []

        parent.children << self if parent
      end