From: Reid Thompson Date: 2007-06-20T22:49:22+09:00 Subject: [Fwd: Re: How can i get data from .txt file and .xml file?] -------- Forwarded Message -------- From: Reid Thompson Reply-To: Reid.Thompson@ateb.com Subject: Re: How can i get data from .txt file and .xml file? Date: Wed, 20 Jun 2007 09:31:30 -0400 On Wed, 2007-06-20 at 22:20 +0900, Karl von Laudermann wrote: > On Jun 20, 3:38 am, Alex Gutteridge wrote: > > 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/ > > I am not the OP, nor do I have an answer for him, but I would like to > point out that while an API reference is useful as a reference for > someone already familiar with the library it documents, it is no > substitute for a tutorial or manual showing how to actually use API > properly. So merely pointing someone at an API reference is not as > helpful as you might have intended. I am not familiar with REXML, and > having clicked the link you gave, I certainly couldn't begin to figure > out where to start reading. > True, but it is easy enough to go to google.com and search on "ruby rexml tutorial" ... second hit --> http://www.ibm.com/developerworks/xml/library/x-matters18.html