[ARTICLE] E4X with Ruby

E

Erik Terpstra

Daniel said:
I know E4X has been mentioned here in the past a couple times, but
it's been a while. It seemed pretty neat to me. Any thoughts?

I like it, seems ideal for reading and writing configuration files in XML, or 'per
file' XML records.

Erik.
 
H

Hal Fulton

Erik said:
I like it, seems ideal for reading and writing configuration files in
XML, or 'per file' XML records.

I like it, too... but I'm wondering about conflicts between XML names
and existing Ruby methods. Or am I misunderstanding how it works?


Hal
 
G

gabriele renzi

Daniel Berger ha scritto:
Hi all,

I came across this article from Jack Herrington on E4X with Ruby:

http://www.onlamp.com/pub/a/onlamp/2004/08/12/ruby_e4x.html?page=1

I know E4X has been mentioned here in the past a couple times, but
it's been a while. It seemed pretty neat to me. Any thoughts?

I love the way rexml can be twisted. I wrote a SimpleXML-like interface
(the new php library for parsing xml) in near to 30 lines, just like it
was did with E4X.
 
E

Erik Terpstra

Hal said:
I like it, too... but I'm wondering about conflicts between XML names
and existing Ruby methods. Or am I misunderstanding how it works?

I am not sure either, I haven't read the article yet, but I already knew about E4X.

Anyway, wouldn't the same problem occur with yaml?

Erik.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top