diff for DOM?

Hi,

Just a random idea that I haven't worked out in detail but has anyone heard of diff for DOM tress (as opposed to line based documents)?

It would seem that a couple of simple operations could describe quite complex changes to DOM based pages. I'm thinking of things like:

ADDED <NODE> <VALUE>
REMOVED <NODE>
MODIFIED <NODE> <LINE-DIFFS>
MOVED <NODE> <NODE>

Any comments?

Best,
  Shadi


---                                                    --- 
Shadi Abou-Zahra,  Web Accessibility Specialist for Europe 
World Wide Web Consortium (W3C),        http://www.w3.org/ 
Web Accessibility Initiative (WAI), http://www.w3.org/WAI/ 
Evaluation and Repair Tools WG,  http://www.w3.org/WAI/ER/ 
2004, Route des Lucioles - 06560 Sophia-Antipolis - France 
Voice: +33(0)4 92 38 50 64        Fax: +33(0)4 92 38 78 22 

Received on Monday, 11 April 2005 10:37:29 UTC