ara.t.howard wrote:
> this is a rough start
> 
> http://gist.github.com/83721
> 
> care to improve?

Use LibXML-Ruby, Nokogiri, or REXML, read both documents, and convert them to DOMs.

Recursively compare each node, and all its children, to the matching node in the 
other document, and fault if anythings out of tolerance.