Re: [xml] Compare xml data



  Hi Harry,

On Thu, 29 Sep 2005 09:24:20 +0200
harry_b mm st wrote:

...

Is there a simple way, e.g. using xmllint, to format the data so simply
can run a diff on those files?

  Yes, use the XML canonical format (options "-c14n" and "-exc-c14n").


TIA, Harry

-- 

1024D/40F14012 18F3 736A 4080 303C E61E  2E72 7E05 1F6E 40F1 4012

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/S dx s: a C++ ULS++++$ P+++ L+++$ !E W++ N+ o? K? !w !O !M
V PS+ PE Y? PGP+++ t+ 5-- X+ R+ !tv b++ DI++ D+ G e* h r++ y++
------END GEEK CODE BLOCK------



-- 
Oleg Paraschenko  olpa@ http://xmlhack.ru/  XML news in Russian
http://uucode.com/blog/  Generative Programming, XML, TeX, Scheme



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]