I won't know the number in the clients or rows until after the processing so
it will always appear on the bottom of the XML, however, I need to post
these at the top of the text output file. The sort function would be useful
except the order of all the other elements should be as written in the XML.
Or alternatively, is there a way of processing the xml as it appears but
using an xsl:if to output the text related to the clients & rows at the top
of the text file? The final output should be similar to the following: