I have an XML document as follows:
\"+447528349828\" \"09/06/24
You could apply an XSL document that translates the data by looping through the SMS nodes and excluding any that has a duplicate Number/text() value
Check would be something like:
.....include a copy of node......