Would be easier to help if you could upload the XML and the transformation. If any sensitive data, just anonymise it. If it's a lot of data, just give a couple of rows
Also, what version of PDI are you using?