Forum: Ruby XML file comparison

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1c0045cd0f1d26711356edb37b3f14b1?d=identicon&s=25 Venkat Kumar (venkat5)
on 2009-02-26 11:41
Hi,

I need to compare XML files. Is there any quick way to do this in ruby
or please
share the code snippet. Kindly help me in this

Thanks,
Venkat
F7d41a4824622680a50f8ac6eac8336f?d=identicon&s=25 Luc Evers (lucevers)
on 2009-02-26 12:37
(Received via mailing list)
Hi,

  You can use xmldiff . (Linux)
  For windows you can install cywin (linux client) and run xmldiff



 Luc.
Aafa8848c4b764f080b1b31a51eab73d?d=identicon&s=25 Phlip (Guest)
on 2009-02-26 14:35
(Received via mailing list)
Venkat Kumar wrote:

> I need to compare XML files. Is there any quick way to do this in ruby
> or please
> share the code snippet. Kindly help me in this

Google for "xslt diff", add an XSLT file to your project, and use it as
a template.

Bulk manipulation of XML is XSLT's job.
This topic is locked and can not be replied to.