Forum: Ruby Query on XmlConfigFile

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
78d0dd514b51f54aa016c3d3032ba011?d=identicon&s=25 Naresh Ramaswamy (s2naresh)
on 2009-02-13 07:35
Attachment: script_data.xml (1 KB)
I am using XmlConfigFile from as under
http://www.cs.ualberta.ca/~schofiel/xml-configfile...

I was dissappointed not to find any Q&A in the ruby forum about this
Simple and Easy Ruby+XML utility.

For anyone who is using this please help me to solve the following

I am parsing an XML document and I need to extract the element values
and attributes.

I am tryin as per the above link under "Handling Sets of Configuration
Parameters" I could not store the values resulting Hash into a variable
so that it shall be printed using either puts or print. I mean to access
every element value or attribute into a unique variable.

Attached are my Script and XML File.

regards,
Naresh
This topic is locked and can not be replied to.