Added recursive addition to the XML formatter.