From: Eric Christopherson Date: 2012-09-12T07:30:41+09:00 Subject: Re: please help me with making script On Tue, Sep 11, 2012 at 5:16 PM, Charmaine Willemsen wrote: > In this example i like to parse birthday and sexe > > >
> > 6 apr 1961 >
>
> > Male >
> ----------------------------------------------------------------------------- > > These ruby script will not work, please who can help me? > > options[:birthday] = find(:xpath, ".//span[contains(@id, > \"lblbirthday\")]").text > options[:sexe] = find(:xpath, ".//span[contains(@id, > \"lblsexe\")]").text Are you using Nokogiri or Hpricot? What happens when you try it?