using Xpath in Ruby

D

dare ruby

Dear friends,

I want use xpath in my ruby program. could you please suggest some ways
to proceed .?. Some links would help me to do..

I need some some details regarding how its implemented in REXML and
HPRICOT.

Thanks in advance..

Regards,
Jose
 
P

Phlip

dare said:
I want use xpath in my ruby program.

What's the actual problem you need to solve? Besides the problem "my program
does not have enough XPath in it yet"?
could you please suggest some ways
to proceed .?. Some links would help me to do..

I need some some details regarding how its implemented in REXML and
HPRICOT.

This post shows some great ways to learn XPath notation:

http://www.oreillynet.com/onlamp/blog/2007/08/xpath_checker_and_assert_xpath.html

Briefly, you install either XPath Checker or XPather into your Firefox. Then
load your XML (or XHTML) into the browser, and hit "View XPath". The checker
will reflect the elements that an XPath expression returns. Edit the expression
to see what happens, and learn how XPath predicates and axes work.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top