Reputation: 81
Hi can i create a custom XML after filling a form in Ruby on rails view template.
Once i m done with capturing data i dono how to create an XML?
Could anyone help
What is exactly rxml and can I use it ?
Upvotes: 0
Views: 1194
Reputation: 13438
Try Builder to generate your XML:
require "builder"
@xml = Builder::XmlMarkup.new
@xml.intruct!
@xml.mydoc do
@xml.property "Data"
end
Upvotes: 1