BS-8648: replace &, < and > with &, <, > respectivley in node contents when parsing and rebuilding xml files