Project

xmlutils

0.0
No commit activity in last 3 years
No release in over 3 years
XML Utility classes library and XmlToGdl application.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

~> 0.0.7
 Project Readme

XmlUtils

Summary

The XmlUtils library provides XML related helper objects.

An application (xmltogdl) is also provided to convert AMS XML guidelines to the GDL language. See GDLC for more information about GDL.

Installation

Add this line to your gemfile:

gem 'xmlutils'

And then execute:

$ bundle install

or install it yourself as:

$ gem install xmlutils

Usage

Command Line Application

Usage info can be retrieved from the application by calling it with the -h or --help options:

$ xmltogdl --help

Rake Task Usage

The rake task can be included in a rakefile by requiring xmlutils/xmltogdltask:

require `xmlutils/xmltogdltask`

and called as:

XmlToGdlTask.new.execute(src_path, dest_path, verbose_true_or_false);

Testing

XmlUtils will use RSpec for testing, but it currently only has simple hand-rolled tests in the unittests directory.

To run all existing specs (none at this time):

$ rake spec

or directly:

$ bundle exec rspec

TODO

Update the naming convention of methods to the ruby standard.

Contributing

  1. Fork it ( https://github.com/jmcaffee/xmlutils/fork )
  2. Clone it (git clone git@github.com:[my-github-username]/xmlutils.git)
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Create tests for your feature branch
  5. Commit your changes (git commit -am 'Add some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create a new Pull Request

LICENSE

XmlUtils is licensed under the MIT license.

See LICENSE for details.