TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > C#(C Sharp)

Notices

Reply
 
Thread Tools Display Modes
Old 19-10-2007, 04:30 PM   #1
Andy Fish
Guest
 
Posts: n/a
HTML or XML diff/merge

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


  Reply With Quote
Old 19-10-2007, 07:30 PM   #2
Phlip
Guest
 
Posts: n/a
Re: HTML or XML diff/merge

Andy Fish wrote:

> 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/blo...hpricot_1.html

--
Phlip
http://www.oreilly.com/catalog/9780596510657/
"Test Driven Ajax (on Rails)"
assert_xpath, assert_javascript, & assert_ajax


  Reply With Quote
Reply

Thread Tools
Display Modes




New To Site? Need Help?

All times are GMT +5.5. The time now is 02:57 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional