# File lib/xml/dom2/xpath.rb, line 204
      def index
        -@visitor.get_attributes(parent).index(@node)
      end