Ruby on Rails Sunday, November 28, 2010

On 10-11-28 07:01 PM, Marnen Laibow-Koser wrote:
> Rajinder Yadav wrote in post #964515:
>> Hi just wondering if there is a easy way to turn an xml entity into a
>> object like of type OpenStruct where i can access everything like a
>> property?
>>
>> It's kind of like parsing xml, I already know about nokogiri, but I want
>> to work is a OpenStruct and not a DOM object, does that make sense? =P
>
> Not really. But if I understand you correctly, you will probably want
> to look at HttParty and Crack.
>
>>
>> --
>> Kind Regards,
>> Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely
>>
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> marnen@marnen.org
>

No that's not what I am looking for, here is something closer to home. I
came across this just now: http://snippets.rorbuilder.info/posts/show/1237

--
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely

GNU/Linux: 2.6.35-22-generic
Kubuntu x86_64 10.10 | KDE 4.5.1
Ruby 1.9.2p0 | Rails 3.0.1

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment