From: Cool Wong Date: 2007-07-20T09:41:21+09:00 Subject: rexml/document problem [code] [/code] This is my xml file data. There include several in the xml file. i can read the 1st data: puts root.elements["b"].attributes["prefix"] Now i cannot read the 1 by 1. How can i read the and write the output is: "A" "B" "C" "D" "E" -- Posted via http://www.ruby-forum.com/.