Sha256: f793b6476dc60da3deb15320e6af59affceba5b69a50ce60c6f608c7c493df6b

Contents?: true

Size: 704 Bytes

Versions: 1

Compression:

Stored size: 704 Bytes

Contents

= XmlTowForm

XmlToForm gem enables you to upload any xml file and it will convert it to nested Rails Form with the help of <fieldset> and <legend> tags, then you can update that file and you will get an <tt>updated.xml</tt> which will be the updated file for your xml in root of the application.

== Installation

Add this line to your application's Gemfile:

<tt>gem 'XmlToForm' </tt>

And then execute:

<tt>$ bundle</tt>

== Usage

To use this gem you just need to mount it in your route file *config/routes.rb*

<tt> mount XmlToForm::Engine => "/xml_to_form" </tt>

Then to go to the dashboard hit the url where you have mounted your gem:

then you will see a file upload button upload a xml file.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xml_to_form-0.0.1 README.rdoc