This method reads pretty clearly on how it's assembling the XML. You might want to throw in a sample of the XML at the start so the code reader can map it to what the expected output is.