I'm generating XML file dynamiquely from database using Ruby Builder (http://builder.rubyforge.org/).
To add a Tag which name is in a variable, I found this: xml.tag!(@myTagName)
How to dynamiquelly insert à list of attributes in this Tag ?
- I dont know the names of the attributes which are loaded dynamically from database
- I need to create a loop because I dont know how many attributes will be inserted.
Thanks.