Just a side note: Should be possible now with Ruby:

- http://drawohara.com/post/89110816/ruby-comparing-xml
- https://www.ruby-forum.com/topic/955902