So based on this link, we could create a Kixtart function called FormatXML(), is that where your heading ?

-Shawn