Evaluating XPaths with indices in HPricot

Hello,

I have been asking this a few days ago, and since I got no response and
I needed it badly I came up with a hack:

http://www.rubyrailways.com/evaluating-xpaths-with-indicdes-in-hpricot/

I am not really sure it is the nicest way to solve this, but it works
:wink: Maybe it can be useful for somebody else, too.

Best,
Peter
http://www.rubyrailways.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs