Hi,
I don't know of an API -- I would suggest using a formatter and
comparing text files. Use system calls if you have to do it from Java -- it
will be much easier to get diff-like output if you just use diff :). I know
that XML Spy will format XML if you write it out; there must be a command-line
formatter either as part of the XML Spy suite or somewhere.
Good luck,
Chris
-----Original Message-----
From: Suresh Babu Koya [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 28, 2002 11:37 PM
To: [EMAIL PROTECTED]
Subject: XML Difference API
Greetings all,
Is there any API/libraries for differencing XML files with/without
whitespaces.
I just need some API that could let me know
1. Any differences between XML files in Diff format(Unix diff command).
2. A boolean(true) if there are no differences and XML files are identical.
--Suresh
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]