# File lib/xml/dom2/xpath.rb, line 52
      def index
        @node.parentNode.childNodes.to_a.index(@node)
      end