I have an application that can export its configuration in XML. The XML is very large and not easily manipulated by text-based tools. I would like to periodically export the application configuration XML, comparing the current export to the previous export and capturing any changes. Is BaseX the right tool for this purpose (i.e., Change Data Capture)?
I’ve tried several text comparison tools but the XML can be several GB. Also, there’s no guarantee the XML will be exported in sorted order by desired attributes.
Obvious answers are to sort both documents first then do a line by line comparison using SAX, since the documents won’t easily fit into the DOM.
user26610205 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.