I want to compare only two html Strings rather than entire file and get the output as an html String
GoogleCodeExporter opened this issue · 2 comments
GoogleCodeExporter commented
I want to compare only two html Strings rather than entire file and get the
output as an html String.
This is required because we need to compare different html strings in a Loop.
HTMLs are retrieved from the database.
My need is:
String 1 = html1
String 2 = html2
After comparing String 1 and 2, I should get third String with the differences
highlighted
Original issue reported on code.google.com by dominic....@gmail.com
on 19 Jul 2010 at 6:19
GoogleCodeExporter commented
I am assuming that you are using DaisyDiff programmatically. If that is the
case you can look at the unit tests which show how you can compare Strings in
both modes (HTML and tag)
See for example.
http://code.google.com/p/daisydiff/source/browse/trunk/daisydiff/src/test/org/ou
terj/daisy/diff/html/HtmlTestFixture.java
If you mean something else, please re-open this issue.
Original comment by kkape...@gmail.com
on 20 Jul 2010 at 7:36
- Changed state: Done
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
Thanks, this should work for me.
Original comment by dominic....@gmail.com
on 20 Jul 2010 at 5:39
- Added labels: ****
- Removed labels: ****