var xmlcompare = require('node-xml-compare');
xml1 =
"<sample>
<a1>1</a1><a>2</a><a>4</a>
<b>4</b></sample>";
xml2 =
"<sample><a>2</a>
<a>1</a><a>3</a>
3</c";
xmlcompare(xml1, xml2,
function(result) {
console.log('result',result)
});
Is there a way to get HTML representation of the difference.