We have a current system that outputs an XML file which is in the following format:
something<
These two templates should do it:-