Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: humanized Xml tree navigation
Chris Gehlker
7/31/2006 1:36:00 PM
On Jul 31, 2006, at 6:16 AM, chiaro scuro wrote:
> Does anybody know of a library that allows to go through an xml
> tree as if
> it were made of normal objects?
>
> I have seen e4x on rubyforge, but it doesn't seem to work.
> simplexml returns
> hashes rather than employing dynamic method calls
>
> What I need to do is to be able to traverse an xml document as in:
>
> * people.each_person {...}
> * people.person[2].name
> * people.person.name #takes the first person
> * people.person.size
>
> etc..
>
> Any suggestion?
>
Look here:
<
http://code.whytheluckystiff.net/hp...
or here:
<
http://cvs.m17n.org/~akr/...
--
And those who were seen dancing were thought to be insane by those
who could not hear the music.
-Friedrich Wilhelm Nietzsche, philosopher (1844-1900)
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: humanized Xml tree navigation
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