Hi Jesus,

Thank you for your help. Right now I am stuck trying to traverse the 
elements in a single xml::element. I know I can use this elements method 
to list the elements, but I am not sure how
I can traverse through them and get their contents individually.

xml = File.read('translateXML.xml')
doc = Nokogiri::XML(xml)

# split into sentences first
arr = doc.search('p')

puts arr[0].elements

-- 
Posted via http://www.ruby-forum.com/.