I want to parse a xml file using xquery in Ruby, I found this lib ruby-xquery. But it is not well-documented. Could anyone please show me some example how to use the API?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It doesn’t appear that xquery is maintained, I would recommend looking into Nokogiri for parsing and working with xml. It is easy to use, there are a lot of examples out there and it is documented extremely well.
There is even a Railscast on using nokogiri 🙂