swebb  
                
               
                 
                 
              
                  
                    November 18, 2024,  5:40pm
                   
                   
              1 
               
             
            
              Hi All
A new KNIME node has been added to the Lhasa public plugin that does string comparison generating a highlighted diff that can then be viewed in the old and new KNIME UI.
Example workflow:
Example output old UI:
Example output new UI:
Functionality is based on GitHub - google/diff-match-patch: Diff Match Patch is a high-performance library in multiple languages that manipulates plain text. 
As usual any issues drop us a message on the forum and we’ll take a look.
Cheers
Sam (on behalf of the Lhasa node devs)
             
            
               
               
              4 Likes 
            
           
          
            
            
              Oh, that’s nice - I was just thinking about exactly this functionality this afternoon!
Steve
             
            
               
               
               
            
           
          
            
              
                swebb  
                
               
              
                  
                    November 21, 2024,  5:46pm
                   
                   
              3 
               
             
            
              When the notification you posted just popped up my first thought was: “maybe we should have checked if this existed in the Vernalis nodes first” 
I hope it’s of use to you!
             
            
               
               
              1 Like 
            
           
          
            
            
              Well my thought when I thought it was that I was glad I hadn’t just started writing it without looking for it 
(Obviously, that never  happens!)
Steve
             
            
               
               
               
            
           
          
            
              
                swebb  
                
               
              
                  
                    November 21, 2024,  6:00pm
                   
                   
              5 
               
             
            
              Of course not, I’m certain neither of us have made a node that already exists 
             
            
               
               
              1 Like 
            
           
          
            
              
                swebb  
                
               
              
                  
                    February 18, 2025,  3:56pm
                   
                   
              6 
               
             
            
              An improvement has been made and released for KNIME 5.3 and 5.4. Diffs on XML content should now render correctly as HTML Cells, the xml entities are now escaped.
             
            
               
               
              2 Likes 
            
           
          
            
              
                system  
                
                  Closed 
               
              
                  
                    May 19, 2025,  3:56pm
                   
                   
              7 
               
             
            
              This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.