On 20 Jun 2007, at 16:15, Cool Wong wrote:

> I have .txt file that is .xml format. i using require "rexml/document"
> and include REXML, but i don know how to get data from the .xml file.

Then perhaps start by reading this:

http://www.ruby-doc.org/stdlib/libdoc/rexml/rdoc/

Alex Gutteridge

Bioinformatics Center
Kyoto University