Logical XML diff