Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
How can i get data from .txt file and .xml file?
Cool Wong
6/20/2007 7:16:00 AM
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.
--
Posted via
http://www.ruby-...
.
3 Answers
Alex Gutteridge
6/20/2007 7:38:00 AM
0
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/r...
Alex Gutteridge
Bioinformatics Center
Kyoto University
Karl von Laudermann
6/20/2007 1:19:00 PM
0
On Jun 20, 3:38 am, Alex Gutteridge <a...@kuicr.kyoto-u.ac.jp> 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/r...
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.
James Gray
6/20/2007 1:40:00 PM
0
On Jun 20, 2007, at 8:20 AM, Karl von Laudermann wrote:
> On Jun 20, 3:38 am, Alex Gutteridge <a...@kuicr.kyoto-u.ac.jp> 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/r...
>
> 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.
That page links to a REXML tutorial, though the link doesn't seem to
be working for me at the moment.
James Edward Gray II
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How can i get data from .txt file and .xml file?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password