Yes this does exactly what I am after - Thank you Gertjan!
Thanks for this, but im specifcally looking to recreate the xml in the string. So from the case above im looking to return a string like :
To leave a comment or answer to post please log in
Please log in
To leave a post please log in