I am learning XML parsing with RUBY(infact never did any XML parsing before). Plz refer this link - http://www.tutorialspoint.com/ruby/ruby_xml_xslt.htm In the DOM-like Parsing example, it prints all Movie Title followed by Movie Type. But i want to print Title and type as a pair, and then move to next xml node.
How can i achieve this?