HTML or XML diff/merge

A

Andy Fish

hi,

I am looking for a library (i.e. not a standalone GUI program) that can do
diff and merge of HTML or XML, preferably in C# or at least that can be
called from C#

anyone know of such a thing

TIA

Andy
 
P

Phlip

Andy said:
I am looking for a library (i.e. not a standalone GUI program) that can do
diff and merge of HTML or XML, preferably in C# or at least that can be
called from C#

anyone know of such a thing

XSL (or XSLT) can diff and merge XHTML and XML. El Goog will find you
scripts to do each.

And note that XHTML is very good for your project, and easy to unit test.
(You do _have_ unit tests, don't you?) But note that web browsers typically
only support Transitional XHTML, and some XML tools _don't_ support it. This
paper explores some problems peripheral to your situation:

http://www.oreillynet.com/onlamp/blog/2007/08/assert_hpricot_1.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top