Query on XmlConfigFile

N

Naresh Ramaswamy

I am using XmlConfigFile from as under
http://www.cs.ualberta.ca/~schofiel/xml-configfile/xml-configfile.html

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

Attachments:
http://www.ruby-forum.com/attachment/3289/script_data.xml
 

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,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top