I use hpricot for all my XML - to access a node in a doc via XPath, you
node = (doc / “/path/to/node”)
The / operator is overloaded to do XPath. Check out the docs first (use
google) for the exact syntax. You must explicitly tell hpricot you are
parsing xml or it will not work right.
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
Thanks in advance…
Posted via http://www.ruby-forum.com/.