:
(a), , ? , , , , , , XML?
(b) ? (i) : /, (ii) , , (iii) , .
, : (a) Canonical XML . . (b) , () saxon: deep-equal(). , , ( , ).
If you want to write Java code, you can, of course, implement your own comparison logic - for example, you could find an open source XPath implementation and modify it to suit your requirements. This is just a hundred lines of code.
source
share