Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Comparing two xml files

by choroba (Abbot)
on Apr 21, 2012 at 08:38 UTC ( #966326=note: print w/ replies, xml ) Need Help??


in reply to Comparing two xml files

I usually just run

xmllint --c14n "$xml" | xmllint --format -
on both files and use standard diff on the results. But it really depends on the type of XML files and typical changes that occur in them.


Comment on Re: Comparing two xml files
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966326]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-09-16 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (157 votes), past polls