Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

comparing 2 xml strings

 
Tina Ang
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello! I just would like to ask if there is any tool I could use to compare 2 xml strings. The tool must identify the differences between the 2 xml string: nodes that have been added, deleted, updated, etc. Please help. Thanks a lot.
Tina Ang
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tina Ang:
Hello! I just would like to ask if there is any tool I could use to compare 2 xml strings. The tool must identify the differences between the 2 xml string: nodes that have been added, deleted, updated, etc. Please help. Thanks a lot.
Tina Ang

Seems like you have to write your own... this link would give you some tips from xslt point of view.
IMHO
 
Tina Ang
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks! However, I need to compare the 2 xml strings from the backend and not using xslt. Do you have other suggestions?! thanks a lot!
TINA
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic