xml_validator

Simple tool for validating XML against XSD

Stars
9

XmlValidator

Libxml is required to use following plugin

gem install libxml-ruby

On windows, download http://www.movesonrails.com/files/libxml-ruby-windows.zip, unzip it into your ruby directory and then try a command above

To install XML Validator, please execute

ruby script/plugin install git://github.com/stevo/xml_validator.git

Example

XmlValidator.validate_file("C:\my_file.xml", "C:\my_file.xsd")

XmlValidator.validate_string("C:\my_file.xml", string_schema)

Author:: Blazej "Stevo" Kosmowski ([email protected]) Copyright:: Copyright (c) 2009 selleo.com License:: Distributes under the same terms as Ruby