Actually, I think that can be rather hard when you consider that you can write an empty element <val/> or <val></val> and also that you probably want to ignore whitespace that is just pretty formatting. Are these strings complete XML documents of just fragments? Do you have to compare the whole document or just known elements? Bill
posted 14 years ago
I need to compare two XMLString only based on values. It should not compare with size, and It should not consider '\n' , only values should be compared. if anything not equal, I need to show error that, particular element is not equal.