%title%

    # File /home/ser/Work/rexml/rexml/element.rb, line 574
      def []( index, name=nil)
    			if index.kind_of? Integer
    				raise "index (#{index}) must be >= 1" if index < 1
    				literal, name = literalize name
    				num = 0
    				child = nil
    				@element.find { |child|
    					child.kind_of? Element and
    					(name.nil? ? true : child.has_name?( name, literal )) and
    					(num += 1) == index
    				}
    			else
    				XPath::each(@element, index ) { |element| return element }
    				return nil
    			end
    		end